Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6078665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:51:33+00:00 2026-05-23T10:51:33+00:00

How do I test and document my Ext.js code? Can’t find any information on

  • 0

How do I test and document my Ext.js code? Can’t find any information on their webpage.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:51:34+00:00Added an answer on May 23, 2026 at 10:51 am

    Documentation

    To generate Ext JS documentation, you can use any JavaScript documentation tool like JSDoc. There are also two Ext related documentation tools available: Ext-doc and JsDuck.

    Testing

    To test your Ext JS frontend you have different options:

    For unit testing, there is the excellent Jasmin behavior-driven development framework available, which is used to test your JavaScript in isolation. It offers many functionality like matchers, spies, mocks and clock handling. I suggest to use the API documentation, since it offers more information that the main site.

    Sencha itself is using Jasmine, you can see the core tests in src/core/test/unit/spec. They even released a headless spec runner based on webkit: Headless Testing for Continuous Integration with Git and Jasmine

    For acceptance testing, you can basically use any acceptance testing tool like HTMLUnit or Selenium.

    I personally use Capybara with the Selenium webdriver, but the advantage of Capybara is that there exists many other drivers for other technologies: capybara-webkit, Akephalos (uses HTMLUnit), Capybara-zombie, Capybara-phantomjs to name just a few.

    The advantage of Selenium webdriver is, that it remote controls Firefox and it thus supports everything Firefox does. The other drivers are all meant for headless testing and are faster than Selenium but don’t support the same range of functionality. I regularly try every available driver for my growing test suite, but I always end with Selenium again.

    Depending on your needs, you can stack Cucumber on top of Capybara, which uses test features written in a business-readable domain-specific language.

    For testing your code automatically on file modification, I suggest you to try out Guard which has testing specific guards like Guard Jasmine headless webkit and Guard Cucumber and Guard Rspec for running Capybara tests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following code.. $(document).ready(function(){ $(#test a).click(function(){ var labelTo = $(this).text(); window.location =
How would I modify this snippet from the tutorial Ext.get(document.body).update('<div id=test></div>'); new Ext.Panel({ renderTo:
I am testing against the following test document: <?xml version=1.0 encoding=UTF-8?> <!DOCTYPE html PUBLIC
Im trying to get some checkbox with a specific name document.getElementsByName(test); Unfortunatley i cant
How can i remove $_SERVER['DOCUMENT_ROOT'] from a string like this /home/bla/test/pic/photo.jpg the result should
function check(id){ var _id = document.getElementById(id); url = test.php?check=1&id= + _id; } i want
I have an XML document which contains nodes like following:- <a class=custom>test</a> <a class=xyz></a>
Test the following code: #include <stdio.h> #include <stdlib.h> main() { const char *yytext=0; const
I have a large malformed test HTML document which I need to get the
My assignment asks me to access a test.txt document, so the file name has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.