GithubHelp home page GithubHelp logo

rcogal / extjs-jasmine Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 6.0 67 KB

Integrating unit-test using Jasmine in ExtJS

JavaScript 97.78% CSS 1.33% HTML 0.89%
extjs extjs-jasmine extjs-unit-testing jasmine

extjs-jasmine's People

Contributors

rcogal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

extjs-jasmine's Issues

How to run the test cases.

Hello @rcogal,

Thank you for the repo. I am using Ext6.6 and created the workspace.

These are the steps I followed.

1.) I created a folder(senchaTest) where I will keep my workspace.
2.) Copied Ext 6.6.0 in this folder.
3.) Created the workspace using the command from the ext folder:

sencha generate workspace ../workspace.

4.) Workspace is created cleanly.
5.) Downloaded your project from https://github.com/rcogal/extjs-jasmine and put the content inside the workspace.
6.) Updated the frameworks of Sencha in workspace.json to 6.6.0.258.
7.) Moved back to the extFolder, and ran this command:

sencha generate app --ext MyApp ../MyApp

8.) Checked the steps 4, 5, 6, and 7 as per the readme of your project.

When I run

sencha web start

No spec is running.

Thank you for reading this. Will be waiting for the response. Thanks again.

Question Regarding TestSuite.specs

In Application.js line 3, you configured the namespace TestSuite.specs so that it points to the specs folder. I followed the instructions here and I know it works, but I am wondering how it works even if the test case' class names is TestSuite.view instead of starting with TestSuite.specs.

Also, what are your thoughts about renaming TestSuite.view.main.Main as MyApp.specs.main.Main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.