ethereum / fe

Emerging smart contract language for the Ethereum blockchain.
https://fe-lang.org
Other
1.61k stars 187 forks source link

Allow ingot tests to run against native test runner #904

Closed cburgdorf closed 1 year ago

cburgdorf commented 1 year ago

What was wrong?

Our ingot tests do not yet support writing tests inline via #test attribute.

How was it fixed?

Similar to single_file_test_run, I added a ingot_test_run function that scans for ingot tests and turns them into an actual test that runs against the native fe test runner.