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

Unit test coverage is rather poor #11

Open
reggert opened this issue Nov 17, 2013 · 1 comment
Open

Unit test coverage is rather poor #11

reggert opened this issue Nov 17, 2013 · 1 comment
Assignees
Milestone

Comments

@reggert
Copy link
Contributor

reggert commented Nov 17, 2013

The current unit test coverage for the plugin is rather poor. bundleTask is not covered at all, and that's where most of the work is done. bundleTask should be broken up into smaller, testable chunks, with unit tests written for each chunk. Ideally, an end-to-end test for bundleTask should also be written.

@reggert
Copy link
Contributor Author

reggert commented Nov 17, 2013

I think a good starting point would be to break out everything that modifies the aQute.bnd.osgi.Builder object into a function separate from bundleTask so that we can test that the Builder object is configured properly before bundleTask invokes its build method.

@ghost ghost assigned reggert Nov 24, 2013
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

No branches or pull requests

1 participant