Open larshp opened 5 years ago
Good idea Main reason why I'm not doing it yet is that all the automated tests run on my laptop, which is inaccessible from outside (which can be fixed) and often offline (which can't).
Second reason is I never did it (which works both ways: would be cool to learn to)
I know unit tests are supposed to be independent from data, but this basically an API interface, if I mock the server I end up testing the mocks. Not to mention the extra work to create them.
I do have some kind of local CI workflow: jest runs on save, tslint continuously, and all errors are reported to the problems pan. As a single man project I see little value in a real CI, except for my own learning.
Will leave this open as I think it's a good idea, but not a priority right now, still focusing on migrating the extension (which has no test at all!)
yeah, just skip the unit tests, and run the compilation + tslint
Hi, Suggest setting up some Continuous Integration, eg. Travis CI or similar