I'm starting with dojo. Coming from GWT and Backbone, I've worked with junit and jasmine to test my application. After taking a lock on dojo DOH testing framework, I wonder if its worth to use it or would it be better to stay with jan external testing framework like jasmine or busterjs. One of my concerns is that I've not found any source on how to use it with an CI server like jenkins. Also I like to know, if I can use a mocking framwork like sinon with DOH. DOH seems also to lack some convenience matcher like the one in jasmin.
Unit test in dojo
3.2k Views Asked by Andreas Köberle At
2
There are 2 best solutions below
0
unludo
On
You may look into this: http://illegalargumentexception.blogspot.fr/2012/04/dojo-mocking-dependencies-with-doh.html
I believe that with Doh and Doh robot, you may do a lot. Currently experiencing. Will let you know.
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in UNIT-TESTING
- How to write tests for classes with inheritance
- PHPunit call magic methods
- Convert IEnumerable to IObservable with variable Period
- How to a run specific code before & after each unit test in Python
- Unit testing a class A that derives from an abstract class B
- Is there another way to unit test business logic in mvc
- Some of my tests show prepended with junit.framework
- Selenium Driver Service not found exception
- Can not convert from Class<PowerMockRunner> to Class<? extends Runner>
- AngularJS Unit Testing - multiple mocks and providers
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- Get Mock with AutoMock.Create<>()
- Mock service that takes unitOfWork in constructor
- Cleanest method for creating a pytest test fixture that takes in dynamic text data
- g++ 5.1.0 not building project, clang shows unknown error
Related Questions in DOJO
- dojo: using registry.byID returns "undefined"
- Custom declarative table in dojo
- How to refresh modal checkbox withing xpages column
- dojo: Cannot read property 'appendChild' of null
- How to call custom js function on scroll in Dojo OnDemandGrid?
- dgrid 'Object doesn't support this action; when attempting to render columns
- add unit to numberspinner in dojo
- dojo 1.10 How to read text file a user has picked with a file picker
- How can I use lodash in dojo?
- Dojo fallbacks for IE9
- dojo Grid renderCell Textarea
- dojo stop dropdown button from closing on checkbox select
- How to sort dojo dgrid as floats rather than strings
- How to set the validator function in dojo programatically
- Best way to handle multi-valued fields as a view/grid
Related Questions in JASMINE
- How to write tests for classes with inheritance
- karma-ng-html2js-preprocessor not able to GET template
- Stubbing an angularJs service with a function that returns a promise using sinon
- How to use Jasmine and CucumberJS with Protractor
- jasmine unit test case for slider directive
- JQuery Unit Testing tooltips (jasmine, qunit, etc..)
- how to mock $state.params in jasmine unit testing
- How do I support jasmine and es6 syntax in Visual studio Code?
- Jasmine spyOn with multiple returns
- Why does Jasmine toEqual return true when comparing empty array with empty object?
- Mocking Angular $window in unit test cases
- Checking variable value with Jasmine
- adding a utility namespace in JasmineJS
- require.config TypeError: undefined is not a function
- Unit testing scope function
Related Questions in DOH
- What happened to Dojo DOH?
- How to locally test cross-domain builds?
- Need help in configuring correct paths for DOH
- How to set up Dojo Doh unit testing on Travis CI?
- How do I use curl to resolve a dns over https (DOH) query?
- How can i execute the DOH test synchronously?
- Dojo DOH unit testing
- Automation of DOH Robot tests interrumped by Pop-up message
- D.O.H. test for document.domain
- Dojo and doh: test for specific topic subscriptions
- Client cannot resolve my DoH server response
- How to add 'has' module when executing DOH tests?
- Dojo Testing Frameworks: Dojo Objective Harness vs Intern
- Using DOH to unit test a non-Dojo javascript project
- Running DOH tests through node -- 'document is not defined'
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well, there are some more you might want to check apart from DOH (which works very well). You can check eventd and selenium 2 also. I remember seeing an integration tutorial for Jenkins / selenium 2 haven't tested it though. EDIT: Maybe needs some refresh, but here you might find more infos : https://wiki.jenkins-ci.org/display/JENKINS/Selenium+Plugin