Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TestOutputCollection so collections can be tested and TestRepeat for repeats. #33

Merged
merged 15 commits into from
Apr 7, 2021

Conversation

fubar2
Copy link
Contributor

@fubar2 fubar2 commented Mar 31, 2021

This PR adds TestOutputCollection and allows the ToolFactory to generate tools with dummy tests for output collections that pass planemo test. Version bumped...

Arguably, needs extension so individual file names expected to be in the collection can be checked - that will require knowledge that we cannot sanely introspect automagically so will need yet more information on the collection tool form section.

Very lightly tested (TM) - just the plotter tool example.

Suggestions appreciated....

TestRepeat added with tests. Also very lightly tested with a real tool.

fubar2 and others added 8 commits March 31, 2021 10:43
…utput collection stub

Seems to generate fine - tools passing tests - although at present it has no assertions - how to generate a "proper" test since
the generated collection contents are only guessable from the script so would need some file names to check in the collection from the user?
Copy link
Owner

@hexylena hexylena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me.

@hexylena
Copy link
Owner

hexylena commented Apr 6, 2021

@fubar2 can you update the readme / setup.py with the changelog / bump the version?

@fubar2
Copy link
Contributor Author

fubar2 commented Apr 6, 2021

Ah. Yes - of course - done.

@fubar2 fubar2 changed the title Add TestOutputCollection so collections can be tested Add TestOutputCollection so collections can be tested and TestRepeat for repeats. Apr 7, 2021
@fubar2
Copy link
Contributor Author

fubar2 commented Apr 7, 2021

Managed to get the testrepeat branch fixed so have merged it here.
Toofer the price of one (TM)

@fubar2 fubar2 mentioned this pull request Apr 7, 2021
Copy link
Owner

@hexylena hexylena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine for me

@hexylena hexylena merged commit 7d45f9f into hexylena:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants