Exam Name: | Certified Tester Advanced Level Agile Technical Tester | ||
Exam Code: | CTAL-ATT Dumps | ||
Vendor: | iSQI | Certification: | Agile Technical Tester |
Questions: | 98 Q&A's | Shared By: | ariel |
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?
Which of the following is an example of how continuous testing facilitates continuous delivery?
You are testing a new feature in the current iteration. The feature is supposed to take the input of a name and return the number of characters in the name. This information is used by another feature that will determine the size needed on a form. The acceptance criteria state the following
1) a name of up to 30 characters should be accepted
2) standard error processing should be in place to limit user errors
The developers are using TDD and you have asked to see their tests. This is what they gave you
When you run your manual tests you are finding that when you use the following inputs you get the associated results:
From these results what can you conclude about the TDD process?
Consider the following section of pseudocode
Display "You exceeded the number of tries to enter a password. Your account is now locked. Call customer.
For this section of code, which of the following issues should be identified during a code review?
1. Variables have not been properly defined with meaningful names
2. There are unused variables defined
3. Divisors are not tested for zero
4. Loop counters are not properly initialized
5. There are endless loops
6. There are statements within the loop that should be outside the loop