ConaireD / TolimanWIP

WIP Toliman codes go here before being added to the main TOLIMAN github
Other
0 stars 0 forks source link

The F.I.R.S.T Principles. #13

Closed Jordan-Dennis closed 1 year ago

Jordan-Dennis commented 1 year ago

Hi all, In my research I have discovered the F.I.R.S.T principles of unit testing, which look like a good guide to writing unit tests well. They are: F = fast; I = independent; R = repeatable; S = self-validating; and T = thorough. I think that the first two are the most important, the others are obvious. Regards Jordan

Jordan-Dennis commented 1 year ago

I think that I only need to test that the optical system is correctly instantiated and can be modified. The other tests for correctness occur in dLux and do not need to be repeated here.

Jordan-Dennis commented 1 year ago

Closed via #15 merged via #44.