Test for non-compilability - scala

52 Views Asked by At

I added a typesafety improvement in my code.

Now I want to test, that some code won't compile. Is it somehow possible to run the scala compiler inside the test, feed it some code and match for non-compilability?

0

There are 0 best solutions below