1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,639
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      2  

    Default Component Maker Test Pack

    Component Maker Test Pack


    I just created a new GitHub repo called "Component Maker Test Pack" which contains 10 great sanity tests for your ExtJS or Sencha Touch component. Powered by Siesta, this suite will help you assert that:
    1. Your namespace is created (build was succesful) and that your component has the expected alias. Checks for global variable leaks are also made.
    2. Your component can be loaded on demand with Ext.Loader (using ext-debug.js)
    3. Your component doesn't create any global Ext JS overrides
    4. It passes basic JsHint rules (no syntax errors, trailing commas, debugger; statements etc)
    5. It does not use global style rules ('.x-panel' etc)
    6. It can be sub-classed
    7. It does not leak any additional components or dom elements
    8. It doesn't override any private Ext JS methods in your component superclasses
    9. It can be created, destroyed with and without being rendered first
    10. It passes a basic monkey test (random interactions with it), should not throw any exceptions.



    https://github.com/matsbryntse/Compo...aker-test-pack

  2. #2
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    410
    Vote Rating
    55
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      0  

    Default


    Very cool, can't wait to try it out on my custom components to see how they stack up! Thanks for sharing!

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,770
    Vote Rating
    165
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Clever! Thanks for sharing!
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  4. #4
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,639
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Thanks guys, if you can think of more simple tests to catch low hanging annoying fruits - let me know

  5. #5
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,071
    Vote Rating
    40
    dawesi has a spectacular aura about dawesi has a spectacular aura about

      0  

    Default


    awesome.... super awesome

    should add a check to make sure that the Ext namespace isn't being used by extensions also. (aka Ext.ux is reserved for offical extensions, so you need to namespace properly)
    Senior Technical Training & Mentoring

    Teahouse Training Company
    Asia Pacific Region (Official Certified Sencha Trainer)

    Check out SenchaWorld.com - The best bits from the Sencha community (videos, blogs, etc)

    Code Validation : JSLint | JSONLint | JSONPLint

  6. #6
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,639
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Good point about Ext.ux, will update the pack shortly with more goodies!

Thread Participants: 3

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar