-
Notifications
You must be signed in to change notification settings - Fork 6
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
Suggestion: Migrate tests to RSpec #92
Comments
I think that sound like a good idea. We have other issues on improving tests also, need maybe a coordinated effort on it. |
Will await a test strategy. |
@MadsNielsen I'm okay using rspec, but before further changes we need to have a plan, on how and when as well as which kind of test we should implement. I still prefer as much unit testing as possible as this runs fast. I'll call you and @michaelmadsen for a meeting, as you two seems the most eager to work with Ruby so we together can form a test strategy for PAC. |
We have decided to move to rspec today and have made some testing guidelines and the first rspec tests. |
See #98 |
I looked at our current tests for PAC and it seems that there is a distinct lack of feedback when you run the tests. The current pipeline does not summarize the report or print the results in any meaningful way.
Futhermore the tests are hard to understand, very long, and do not test actual use cases. I spent like 30 minutes write a test that demonstrates how RSpec works
When you run a test like this in rspec you get an output like so:
It's alot simpler and you get a REALLY nice report if you run
rspec --format=html
Is this something we want to do?
The text was updated successfully, but these errors were encountered: