Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 919 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 919 Bytes

Selfie snapshot testing for Java, Kotlin, and the JVM

Contributing

PR's welcome! Clone the project and run ./gradlew build, it'll run all the tests and build all the jars.

One tricky thing is that testing inline snapshots requires changing the code being tested. To make this work, we have undertest projects. Their test task is disabled, and they have an underTest task instead. You'll note that every test in these projects is named UT_SomethingTest. That's because there is a corresponding SomethingTest in selfie-runner-junit5 , and SomethingTest works by changing the source code in UT_SomethingTest, running builds, and making assertions about the state of snapshots and source code after the build.