iSQI Related Exams
CTAL-ATT Exam
You are working for an organization that has implemented CI and is struggling to get the automated tests to run on each build because of time limitation. On average, there are three ad hoc builds per day, one scheduled build overnight, one scheduled build on Friday nights, and one build that is conducted on the Thursday night before the end of the sprint on the second Friday. There are four sets of tests: high priority, medium priority, low priority, and non-functional. The non-functional tests must be run in the integrated stage environment, whereas the other tests can be run in any of the test environments.
In addition to just the execution time of the tests, it has also been noted that reviewing the results of the tests takes about two hours per set of tests.
Given this information, which of the following is the most efficient and effective approach to test automation execution?
A developer has implemented a class that calculates if a given date is a leap year. The definition
for the leap year is given:
Every year that is exactly divisible by four is a leap year, except for years that are exactly
divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.
- divisible by 4
- but not by 100
- years divisible by 400 are leap anyway
You have already thought about it and started with the first test class; the test class looks like
(pseudo JavaScript used here):
// LeapYear.spec.js
describe('Leap year calculator', () => {
it('should consider 1996 as leap', () => {
expect(LeapYear.isLeap(1996)).toBe(true);
});
});
What would now be your next step to proceed as efficient as possible, to validate the correctness
of the class above?
BDD and ATDD are most commonly used with which test approach?