Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Assertions in Odoo

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 262
    Comment on it

    Generally we use qunit assertions for web's test .If any module are not working proper then we use qunit assertions in odoo server.Assertions having following list .
    1-async()
    Instruct QUnit to wait for an asynchronous operation.
    2- deepEqual()
    A deep recursive comparison, working on primitive types, arrays, objects, regular expressions, dates and functions.
    3-equal()
    A non-strict comparison, roughly equivalent to JUnits assertEquals.
    4- expect()
    Specify how many assertions are expected to run within a test.
    5-notDeepEqual()
    An inverted deep recursive comparison, working on primitive types, arrays, objects, regular expressions, dates and functions.

    Note-they have the same keys/number of elements, and the values match.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: