Jasmine Testing Online Test

Topics covered

Filters, Jasmine Spy, CSS testing, Functional Testing, Fake Calls, File Loading, Hover

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

Jasmine test is designed & developed by global subject matter experts (SME)s to assess the Jasmine testing skills of candidates - as per industry standards.

Jasmine is a behavior-driven development (BDD) framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM and it has a clean, obvious syntax so that you can easily write tests. You can run your browser tests as well as node.js tests on the Jasmine framework.

Thus, Jasmine online test helps recruiters & hiring managers to evaluate the expertise of candidates in jasmine testing of JavaScript code.

Jasmine test contains questions on following Topics:
 

  • Error Handling

  • API

  • Service Objects

  • Filters

  • Jasmine Spy

  • CSS testing

  • Functional Testing

  • Fake Calls

  • File Loading

  • Hover


To assess multiple skills in one go, we provide a facility of customizable assessments that help you in creating the tests for as per your specific needs.

The reports are generated instantly. Our hiring analytics will provide you with the detailed analysis of skills related strengths & weaknesses of the candidates that will help you in making right hiring decisions.

This pre-employment test is useful for hiring:
  • Automation Testing Engineer- Jasmine
  • Full Stack Javascript Developer

Test details:

Skill test on Jasmine testing enables employers to identify potential hires by evaluating working skills and job readiness. For this reason, an emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

The assessment test on Jasmine testing contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Test Duration: 20 minutes

20 Application Questions

The online Jasmine test contains a combination of application and theory questions that helps you to evaluate technical as well as practical skills of candidates.

Jasmine Test

Question #1 of 3

You are a newbie for jasmine and want to try the expect() API with multiple inputs in jasmine. Which of the following is the correct syntax to use multiple expects in jasmine?

    • expect(variable1 = 1 and variable2 = 2).toBeTruthy();

    • expect(variable1 == 1 && variable2 == 2).toBeTruthy();

    • expect(variable1).toEqual('');
      @(:variable1).expect(variable2).toEqual('');

    • @(:variable2).expect(variable1).toEqual('');
      expect(variable2).toEqual('');

Question #2 of 3

Given below is a spy test command in jasmine to mock values of an array. What does the following line return?

spyOn(Handlebars, 'templates').andReturn({""ResponseToSubscribers"": (obj) -> ""html""})

    • empty array

    • error that templates does not exist

    • undefined reference error

    • return 1 as output

Question #3 of 3

You have defined two objects as spies with jasmine as follows:
spyOn(obj, 'spy1');
spyOn(obj, 'spy2');
Which of the following is the correct way to test that the two objects are called and also obj.spy1 is called first?

    • obj.spy1.andCallFake(function() {
          expect(obj.spy2.calls.length).toBe(null);
      });

    • obj.spy1.andCallFake(function() {
      });

    • obj.spy1.andCallFake(function() {
          expect(obj.spy2.calls.length).toBe(0);
      });

    • obj.spy2.andCallFake(function() {
          expect(obj.spy1.calls.length).toBe(0);
      });

SAMPLE REPORT
Candidate Name: David Messi Test Date: 28-May-2014
Test Name: Jasmine Test Test Start Time: 13.30

Score: 18 Out Of 20

Percentage: 90

Result: PASS

passing score image
SECTION PERFORMANCE
Section Name FAIL PASS
Jasmine
Score: 18/20
STRENGTH AND WEAKNESS
Strength Jasmine
Weakness -
* Note: If score <= 40 then its a Weakness. If score >= 80 then its a Strength.
ONLINE PROCTORING
0%
10 20 30 40 50 60 70 80 90 100%
Tolerable Limit Not acceptable
Window Violation: 0 | Time Violation: 0 secs
CANDIDATE DETAILS
Gender : Male Phone Number : +1-541-754-3010
Total Experience (Years) : 3 Total Experience (Months) : 5
Skill Set : Jasmine Current Employer : Interview Mocha
Current Job Title : Solution Architect Current Salary : 600.00
Expected Salary : 1000000.00 Current Location : Chicago

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • hexaware
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo