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

Support Mamba BDD tests #14

Closed
fatuhoku opened this issue Sep 4, 2013 · 2 comments
Closed

Support Mamba BDD tests #14

fatuhoku opened this issue Sep 4, 2013 · 2 comments
Assignees

Comments

@fatuhoku
Copy link

fatuhoku commented Sep 4, 2013

It'd be great to be able to run Mamba tests with PyBuilder.

Mamba is a BDD style testing library.

@fatuhoku
Copy link
Author

fatuhoku commented Sep 5, 2013

A simple way out of this: #16.
Let the user run mamba with whatever flags they normally do; forward the test output to console. Observe only the process result. If there were test failures the process return code is set to a non-zero value. That should be enough to fail the build.

@ghost ghost assigned mriehl Sep 6, 2013
@mriehl
Copy link
Member

mriehl commented Oct 7, 2013

Can now be done with

use_plugin("exec")

and

project.set_property("run_unit_tests_command", "mamba %s" % os.path.join(project.expand_path("$dir_source_unittest_python"), "spec.py"))

@mriehl mriehl closed this as completed Oct 7, 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

2 participants