What is DAMP test?

What is DAMP test?

The purpose of a DAMP testing program is to ensure that people under the influence of AOD while performing SSAAs are promptly identified and tested. The testing program should also have a deterrent effect on problematic AOD use by current and future employees.

How do you test for damp?

To check for areas of damp in a house, carefully examine walls, floors and ceilings for any tell-tale signs. Feel for damp patches and peek under flooring that appears to be lifting. If you suspect your house could have rising damp, a useful trick is to run your hands across the affected area.

What is dry damp?

(of laundry) to dry partially so that some moisture remains, as for ease in ironing. verb (used with object), damp-dried, damp-dry·ing. to cause (laundry) to damp-dry.

What does ” damp not dry ” mean when talking about unit tests?

The idea of DAMP not DRY in test cases is that tests should be easy to understand, even if that means test cases sometimes have repeated code. See also Is duplicated code more tolerable in unit tests? for some discussion on the merits of this viewpoint.

Is there a dichotomy between dry and damp?

This dichotomy between DRY and DAMP is false. Both principles are equally important in both the production and test code. In fact, you don’t have to make a trade-off between these two principles at all. To see why, we need to step back and make a closer look at the DRY principle.

What does ” damp not dry ” mean in production code?

As a principle, favor DRY in production code, favor DAMP in test code. While both are equally important, with a little wisdom you can tip the balance in your favor. DAMP – Descriptive And Meaningful Phrases. “DAMP not DRY” values readability over code re-use.

Why are unit tests so hard to trace?

It introduces high coupling between tests — If you need to modify the calculator setup in one test, it will affect the other test too. Such coupling becomes hard to trace really quickly. Changes in one test may ripple through the remaining tests and may introduce unexpected bugs in them.