You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The specs share state and need to refactored so they're properly set up and torn down and the sprint. They share in common either creating/deleting files or running background jobs. One fix was to wrap a test helper with a mutex.syncronize so that access to files is locked per thread. Other tests probably do to much in that they are more integration tests than unit tests and we should mock and stub behavior not directly related to the subject's behavior.
The text was updated successfully, but these errors were encountered:
This is becoming more of a time suck than we anticipated. There is a bug in parallel_tests that I was eventually able to overcome documented here grosser/parallel_tests#718. Also, there is more than one bug in simplecov The first one is fixed in this PR simplecov-ruby/simplecov#746 and the second one has not been researched, but the coverage results are incorrect (too low). I suspect that something in this commit may be part of the issue
User Story
As a developer I want all specs to pass using the parallel tests gem so that the TDD development cycle is faster.
Acceptance Criteria
Some rspec examples in the following specs fail under the parallel tests gem:
Detail
The specs share state and need to refactored so they're properly set up and torn down and the sprint. They share in common either creating/deleting files or running background jobs. One fix was to wrap a test helper with a mutex.syncronize so that access to files is locked per thread. Other tests probably do to much in that they are more integration tests than unit tests and we should mock and stub behavior not directly related to the subject's behavior.
The text was updated successfully, but these errors were encountered: