purenix icon indicating copy to clipboard operation
purenix copied to clipboard

test suite

Open cdepillabout opened this issue 2 years ago • 1 comments

It would be nice to have a test-suite for purenix.

The most important tests would be for the Nix.Convert and Nix.Print modules.

We'd also especially like to test that all our identifiers, strings, and attrset keys get escaped correctly.

Places to pull ideas from:

  • PureScript test suite: https://github.com/purescript/purescript/tree/master/tests
  • purescm test suite: https://github.com/purescm/purescm/tree/master/test

As of this writing, neither purerl nor purescript-native have a test suite.

cdepillabout avatar Oct 05 '21 01:10 cdepillabout

There is some discussion relevant to this issue here: https://github.com/purenix-org/purenix/pull/44#issuecomment-1037074437

jonascarpay avatar Feb 12 '22 08:02 jonascarpay