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

Generate more realistic TestResult data in fake-cucumber #801

Merged
merged 24 commits into from
Nov 27, 2019

Conversation

vincent-psarga
Copy link
Contributor

@vincent-psarga vincent-psarga commented Nov 22, 2019

Summary

This follows #793 : as we use "real" cucumber-expressions to execute the steps in fake-cucumber, why not generate real failure messages (based on the execution stack trace) and execution time.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • The change has been ported to Java.
  • The change has been ported to Ruby.
  • The change has been ported to JavaScript.
  • The change has been ported to Go.
  • The change has been ported to .NET.
  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@vincent-psarga vincent-psarga changed the title Generate better TestResult data in fake-cucumber Generate more realistic TestResult data in fake-cucumber Nov 22, 2019
@vincent-psarga vincent-psarga marked this pull request as ready for review November 22, 2019 14:25
@vincent-psarga vincent-psarga added language: javascript ⚡ enhancement Request for new functionality labels Nov 22, 2019
- Ensure millis and nanos are always integers (in fake-cucumber)
- Check if duration is nil (in json formatter)
- Remove anemic TestResult class
- Refactor Duration construction
@aslakhellesoy
Copy link
Contributor

I think we can merge this now. WDYT @vincent-psarga ?

@vincent-psarga
Copy link
Contributor Author

I think we can merge this now. WDYT @vincent-psarga ?

I think it's definitely good to merge @aslakhellesoy :)

@aslakhellesoy aslakhellesoy merged commit a5a7b24 into master Nov 27, 2019
@aslakhellesoy aslakhellesoy deleted the fake-cucumber-handle-statuses branch November 27, 2019 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants