DataDog/system-tests

Eradicate negative assertions tests

Opened this issue · 4 comments

Some tests have negative assertions, ie: test that nothing happens. This is not really useful, and it's giving false positives for xpass (easy-wins).
Here is the list I could find:

@cbeauchesne the last one in the list

def test_request_method(self):

I have no idea how to fix it :/
We can't test that it's "doing something" before because it's tested in a different scenario. I made a workaround that checks when this test is used and fail directly in the weblog: #2401

There is nothing in telemetry that tells the feature is implemented, but deactivated ?

There is nothing in telemetry that tells the feature is implemented, but deactivated ?

I'm guessing if it's implemented, it should be sent in the env config telemetry payload, but I didn't pursue that lead myself as I have no idea how to implement it in the system-test. If you can figure it out, i'll test it for you.