Testng,
junit5,
PnxTest,
or any others?
PnxTest is the Springboot of test circles
https://github.com/pengtech/pnxtest
Related
I am completely new to testing framework. In my team we are using cucumber framework(Java) with selenium for UI testing.
Here someone from other team suggested we can use Robot framework(based on selenium) as well.
So my question is, can we integrate Robot framework with Cucumber.
If So could you please provide me link as well where there is example to use robot and cucumber fw integrated way.
I want to start my automation project from scratch, as per requirements I have to use Behavior Driven Approach for testcase authoring and selenium for Automation. please suggest best suited framework.
You can check open source QMetry Automation Framework for web (selenium-webdriver) and mobile (appium) automation. It has all the features driver management, parallel execution, run configuration you want and many more like data-driven testing, data-bean, locator repository, integration with third party tools (CI, Test Management tools etc).
It support BDD, keyword-driven and coded (TestNG test) approach for authoring test cases. So you can opt bdd for test authoring.
You also will find inbuilt bdd steps ready to use for selenium webdriver and rest-webservices with the framework.
You can start by downloading blank project from git which uses ANT and IVY. If you want to use maven you can download qaf-blank-project-maven.
For getting started follow step-by-step-tutorial
I'm currently developing a new set of regression tests for an interface using Selenium. I was wondering if it's possible to do a type of batch that runs during the night and which could launch a set of tests (and, i don't know... maybe configure some stuff at the same time). Does anyone know how to do this, or if there is a tool for this that integrates with Selenium?
Thanks!
You could use Jenkins/Hudson, that is a continuous integration tool. It has addons as well for Selenium.
More info here.
Jenkins, Hudson, CruiseControl or TeamCity will all be very easy to set up with Selenium.
I just moved into web testing using Selenium and have been learning Selenium WebDriver + Java.
My question is, why do I need to build a test framework when TestNG is there?
What is there that TestNG cannot do as a framework?
Nothing :-)
More seriously, TestNG is very popular with Selenium users for a variety of reasons, among which support for:
Dependencies (very convenient to test pages that follow each other).
Parameterization with #DataProvider (useful to test various combinations of browsers and user agents).
Parallel tests (lets you test on multiple browsers simultaneously).
Check out the Selenium forums for more information and feel free to email the testng-users list if you have questions.
Yes, I think TestNG is enough as a web test framework. If you are familiar of using JUnit, It is easier to switch into TestNG
Building a custom framework may be necessary at times.
And you can use TestNG for that. :)
How to do testing and is there something similar like Rack::Test with ruby frameworks?
You can use Specs, ScalaTest and JUnit (and any other java test framework), theres some examples on the new wiki.
Read this!
I don't know much about ruby, so maybe don't get your point. But what about Jitr?
Jitr (pronounced "jitter") is a JUnit
Integration Test Runner.
It allows your web application
integration tests to easily run
against a lightweight web container in
the same JVM as your tests.
You can use it with JUnit 4's #RunWith annotation. In Scala: #RunWith(classOf[Jitr]).
This may be of help, it's on Lifts wiki pages. There are examples using Junit, Scalatest and and Specs.
How To: Unit test lift snippets with a logged in user