> We can define these tests as a seperate set that gets only a weekly run,
> but deletion is IMHO the completetly wrong way.

https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf

A cleanup *is* reasonable, not completely wrong way. I bet that week
after we move this into 2nd tier it starts breaking and nobody will
care, because code would had been merged already. That's the point
here.

> I think both are needed. Integration tests are much slower than unit
> tests, in general.

And by the way our unit tests are not fast, really. They are slow as
hell, mainly because most of them are not really unit tests. I am
speaking to you, model tests. Let me give you an example:

test/models/architecture_test.rb

Not a unit test, not an integration test, not a system test, haven't
failed for a very long time, useless if we have the most important
stuff covered in an integration or system test, which we do.

--
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to