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
Add method checkpoint
to trait Checkpoints for easy use of Checkpoint
#2305
base: main
Are you sure you want to change the base?
Conversation
Hi @ndy2, we require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please access https://www.artima.com/cla/choose-type to sign our Contributor License Agreement. Your effort is highly appreciated. Thank you. |
@cla-bot[bot] check |
The cla-bot has been summoned, and re-checked this pull request! |
Hello, @cheeseng ! |
@ndy2 Sorry for the late response, I'll take a look today and what's going on. Cheers. |
@ndy2 I managed to fix the compile errors: But the unit tests are failing because of wrong line number check, I'll try to look into it further when possible. |
I merged the PR in my fork. |
I added a method
checkpoint
to trait Checkpoints for easy use ofCheckpoint
.I have some experience of other test frameworks of JVM familiy like Junit/assertj & kotest.
I thought that create Checkpoint & report it is quite verbose and tedious.
Thus, I introduce a checkpoint!
I found that like the trait
Checkpoint
is right place to place this method like other dsl helper traits in scalatest. (Inside
,Matchers
...)Full Usage Example :
Inspired by