rust-code-analysis icon indicating copy to clipboard operation
rust-code-analysis copied to clipboard

Add tree-sitter-ccomment tests

Open Luni-4 opened this issue 4 years ago • 3 comments

It would be helpful to add tree-sitter-ccomment grammar tests. A possibile test structure could be the following one (v0.19 #552):

  1. Find a not-too-big C/C++ project easy to compile
  2. Remove comments
  3. Compile again

A unit test would be preferred.

Luni-4 avatar Mar 19 '21 09:03 Luni-4

A unit test would be preferred.

It'd be nice to have both some unit tests, and an integration test like what you described.

marco-c avatar Mar 19 '21 10:03 marco-c

No more necessary since this grammar is only used by an external program

Luni-4 avatar Jan 13 '23 12:01 Luni-4

We still need tests to make sure that we don't regress the functionality that users depend on.

marco-c avatar Jan 13 '23 12:01 marco-c