Cognzant Technology Solutions Interview Report
- 0of 0 votes
AnswersWhich of the following lists the kinds of tests in order of increasing code exercise complexity?(ruby on rails)
- paramjitmaan786 November 01, 2012 in India for ruby on rails
Integration tests, functional or module tests, unit tests
Unit tests, integration tests, functional or module tests
Unit tests, functional or module tests, integration tests
Functional or module tests, unit tests, integration tests| Report Duplicate | Flag | PURGE
Cognzant Technology Solutions Developer Program Engineer - 0of 0 votes
AnswerWhich of the following statements are true regarding mocks in RSpec? Select all that apply.(ruby on rails)
- paramjitmaan786 November 01, 2012 in India for ruby on rails
Mocks are used to isolate tests from the database
Model mocks automatically have access to all existing methods of the model
Mocks can be created with default attribute values| Report Duplicate | Flag | PURGE
Cognzant Technology Solutions Developer Program Engineer - 0of 0 votes
AnswersWhat is the main difference between BDD and TDD?
- paramjitmaan786 November 01, 2012 in India for ruby on rails
(ruby on rails)
BDD focuses on validation while TDD focuses on verification
BDD focuses on verification while TDD focuses on validation
BDD is better than TDD at testing methods independently
BDD generally uses mocks and stubs more than TDD| Report Duplicate | Flag | PURGE
Cognzant Technology Solutions Developer Program Engineer