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

10 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);
      });

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status
















24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Happy

It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Take your first step to hire job fit candidate

GET 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
  • akamai
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

Take your first step to hire job fit candidate

GET A DEMO