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

I'd love to use this, but I need help please. #1

Open
Chekote opened this issue Jun 4, 2012 · 3 comments
Open

I'd love to use this, but I need help please. #1

Chekote opened this issue Jun 4, 2012 · 3 comments

Comments

@Chekote
Copy link

Chekote commented Jun 4, 2012

Firstly, apologies for using the issue system for this, but I couldn't find any other way to contact you.

I have a project built on play 1.2.4 that I would like to use BDD for, and I would like to try out your plugin. However, I'm finding it very difficult to work out how to use this. I've reviewed the bhave-example repository, and it doesn't appear to have any examples in it.

Is there any information you can give me on how this plugin works? I am familiar with BDD concepts, and have used tools such as Cucumber before. I am just not sure how to write the tests with this plugin, and where the test files should go. If you can't provide information, then perhaps you could point me to a project that is using this plugin?

Thanks in advance.

@beastawakens
Copy link
Owner

Hi there,
thanks for getting in touch, and I'm glad to hear of your enthusiasm! Bhave is still under development but you are free to start playing with it. Once you've included it as a dependency in your application, start your app, then navigate to to http://localhost:9000/@bhave/ (or whatever port you're running on). You can then use the menu at the top to create a new test.
I really need to get on and make a walkthrough screencast to help explain it!
When you make a new test, you can set up the various options at the top for how you want the webdriver test to run, the default settings should just work out of the box (I hope, please feedback if not!). You can then use the input box to start writing your BDD example/test/spec. At the moment, there is a limited vocabulary you can use, but the ability to create new 'commands' is there, it's not easy to define what they should do.

Let me know how you get along and I'll try and get a screencast available soon to help out as well. Thanks again!

@Chekote
Copy link
Author

Chekote commented Jun 5, 2012

Thanks for the quick response!

That should get me started. I've looked at some of the source code for your commands, and it doesn't look too difficult to implement my own, it was mainly how to write the tests and where to put the files that I was stumbling with.

I'll definitely give this a shot in the next few days. If I do add any commands, I'll be sure to send you pulls incase you want to add them to the plugin.

@beastawakens
Copy link
Owner

Good stuff thanks! Contributions are most definitely welcome!

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