How can Meteor apps be tested? [closed] - testing

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What are the recommended ways to test web applications developed with the meteor framework?
The meteor unofficial FAQ entry on TDD best practices is quite short.

Sebastian Maier has a repository where he created a meteor app and tests it with Jasmine. You could check it out, here's a link.

The Meteor documentation is woefully and/or intentionally silent on the subject of testing, other than this one quote:
Great care has been taken to give the core Meteor packages the minimal set of dependencies, so you can use your favorite templating, testing, or DOM manipulation frameworks.
So I guess you're free to test however you like, which is supposed to be a feature.
There are a number of fine testing tools that would be applicable to a Meteor webapp, Mocha being one example.

With v0.9.4, released Oct 13, 2014, Meteor has an official test framework, meteor-velocity. It supports Jasmine, Mocha and Selenium.
meteor run --test
The architect behind Velocity has published a book, Meteor Testing.
See also http://velocity.meteor.com/

Related

Protractor Vs Suitest vs Cypress Which frame work is the better for large angular apps? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
What are the particular benefits or flaws Protractor has over Suitest
and Cypress ?
1. Which would be better for multi-platform applications ?
2. Will Suitest be suitable for large app?
I have used both Protractor and Cypress with Angular and non Angular apps. Protractor is suited for scenarios if you have to execute in multiple browsers like Chrome,FF- which is not possible in Cypress as of now- Cypress only supports Chrome and Electron as of now.
Since Protractor is just a wrapper or a sort-off port of Selenium webdriver, so it can do whatever the Webdriver can do, like working with multiple windows, frames etc, which are not available in windows.
Both are very different in architecture - one being a remote execution (protractor), while one being having native access (Cypress).
Cypress tests are bound to single origin, which is not in the case of Protractor.
My Personal opinion is too side with Protractor for large complex applications - because of the ease of working and my experience in working with WebDriver in general.
Haven't heard about Suitest before.
This really depends on what are you trying to achieve. If you need to make sure that your application is working in general, i.e. business logic is doing what you want - Protractor or Cypress would do the job for you in a web browser.
If you want to dig deeper and make sure your app runs fine on your target device - you should go with Suitest. It's a good way to test your app same way it's going to be used by the end user on TVs, Xbox etc. (anything other than web browser).
Disclaimer - I work at Suitest.

Does Selenium do UI testing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I was wondering if we can use selenium for UI testing. Does it support Javascripts on modern browsers? What other open source tools do you recommend?
I have googled a bit but could not get any definitive answer.
Thank you
Selenium is a tool you can use to mimic a user interacting with a web browser. If your UI Testing is browser based, then yes you can use it.
While selenium allows you to execute javascript commands directly, you shouldn't need to do that very often as it just does things you'd expect a user to do: clicking a button, filling out a form, etc...
It's become such a widely used tool, that it's hard to find strong reasons to use anything else, although other options exist. There are other tools that are built on top of Selenium that can help with testing other things.
Testing Web Browsers:
Selenium
Testing apps: Appium
Testing angular: Protractor
Testing Windows apps: Winium
Selenium's WebDriver has started to be implemented by the major browsers directly as Selenium has been influential is pushing that into the w3 standard. This makes it so it's the responsibility of the browsers to update their WebDriver when they release new versions, which has been and will be helpful to maintain stability in selenium tests as browsers update.
In short, yes selenium is for browser based UI Testing.

Which tool and framework to use RestAPI Automation Testing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for RestAPI automation tool which should be open source tool.
Not getting which tool and framework should go.
Can anyone suggest for me good tool and framework for API automation testing?
It depends on your requirements and your skills.
The most obvious choice would be SoapUI, it normally doesn't require any developer background and has limited load testing capabilities.
Apache JMeter can be also used for API testing, it has Logic Controllers to design the test, Assertions to set pass/fail criteria and if you will need to run tests in multithreaded manner - JMeter is designed for load testing. See Testing SOAP/REST Web Services Using JMeter for more details.
Any programming language / library / framework which can send HTTP requests and has good support of XML or JSON or both. However it assumes some underlying programming language knowledge, besides when it comes to client SSL certificates, protocol-based and other security types it can be a headache. The most popular framework seems to be REST-assured, it's Java-based, if you're not comfortable with Java you can try searching for equivalent for programming language(s) you know better.
You Can go for SOAPUI opensource https://www.soapui.org/
You can create your own framework , using groovy or Java language, can use lot of plugins
Soaupi has lot options , easy learning curve ,and lot of online support , and large userbase.
Soap UI scripts can be maintained easily.
Soapui scripts can run through , JUNIT,TESTNG, ANT, GRADLE, MAVEN and reports can be generated.
For load testing/mini stress on your REST API, its easy ,just right click on existing test case and add to load test .
All the best , Happy Testing

How to do cross browser testing for a web site [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
when we develop a web site then we do not know how web site behave in other browser and also in a specific browser with different version. i have seen few web site is there where we can put our web site url and it generate image of our web site. those functionality is not good. so i like to know is there any free tool exist which give me browser like feeling where we can put our web site url and do the interaction with our web site.
i am looking for best free tool to test web site functionality and UI look. share the idea. thanks
One tool i know is Browserstack. It offers free trial for half an hour. If you need more, just register again with new email or support them and buy this product. It also offers you to test local links on different platforms and browsers.
There is also saucelabs that offers free testing for some browsers, but if you want to test local link then you need to buy it.
Also crosbrowsertesting offers free trial. But it only supports mac osx 10.8 and windows 7 in free trial and a bunch of browsers and different versions.
Hope this info helped.
Have you already tried this: https://spoon.net/browsers ?
There are of course more containers than browsers.
If you need that feature in a long term purposes I would consider to setup your own containers e.g with help of Docker (https://www.docker.com/) or with Selenium Grid. If you automate UI tests, Selenium Grid will help you with parallel run and its distributions.
There are lot of tools available on internet but really I do not trust on result which they produce. They are good but not perfect.
If you really want to do pixel precise testing of UI in diff.browsers then do manually testing OR you can make it automate using selenium web driver & TestNG framework. You can also use selenium grid for this purpose.
Kindly refer : Cross browser testing
There is a couple of another sites. Maybe someone will find it helpful.
cloudtesting
browserling
saucelabs
crossbrowsertesting
browsera
https://www.equafy.com also has a free version.
Only MacOs is not available for free, but if it is for open source project this is included
I am affiliated with equafy.com.
Cross browser testing tools have progressed a lot in the past couple of years with some of the tools now offering automated solutions.
We've recently researched the market and put together our list of the top tools which are available today.
If you have any feedback or know of any additional ones which should be added, please do let me know.

Where To Start With Chrome OS Development [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I was seeing about the release of Google Chrome OS, then I have some questions:
Where I can start to develop for it?
In which languages?
Which platform is good to develop?
Is possible to develop inside Chrome OS?
In which languages?
Is there any repository to share and download Chrome applications?
A good start would to be understand what Chrome OS is.
Where I can start to develop for it?
Chrome OS is a bucket for the chrome browser. Just build a webapp and it will work
In which languages?
HTML5, CSS3, Javascript
Which platform is good to develop?
Webapps are entirely interpreted
Is it possible to develop inside Chrome OS?
You may be interested in the Bespin project from Mozilla Labs. They aim to provide an IDE (written within a HTML5 Canvas object) to edit websites on the fly, and in the cloud.
You may try to learn how to write extensions for Chrome.
At this moment, they are not available at the current release, but they WILL be on the next one and you may bet they'll be available in some way on Chrome OS.