Hi Xavier!

> Hi,
>
> Has someone already thought to add unit tests to check for
> regressions and such into DVC.el ?
>
> I think we should have such tests.

The folder lisp/tests contains already some tests.

I happily accept patches that cover new test cases.


However, I think it is very hard to have a good coverage for an emacs
package. Since DVC.el contains such a huge number of functions it is
IMHO impossible to get a good coverage.

I know no emacs package that has a good unit test coverage. Does
anyone know such a package?

I see the following problems:
 - The user operates interactivly with an emacs package. It is easier
   to do unit tests on a given input data set that results in a known
   output data set.
 - Coding new features is fun - but coding unit tests is rather boring
   and time consuming.

Stefan.

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev
  • Unit tests ? Xavier Maillard
    • Re: Unit tests ? Stefan Reichör

Reply via email to