rcogal / extjs-jasmine Goto Github PK
View Code? Open in Web Editor NEWIntegrating unit-test using Jasmine in ExtJS
Integrating unit-test using Jasmine in ExtJS
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.