|
1 |
| -# SeleniumBase Test Framework |
| 1 | +# SeleniumBase Automation Framework |
2 | 2 |
|
3 |
| -## **Intelligent, Reliable Web Automation** |
| 3 | +## **An open-source solution for reliable testing & business automation** |
| 4 | + |
| 5 | +### Trusted by some of Boston's most promising companies, including HubSpot, Jana, and Veracode. |
4 | 6 |
|
5 | 7 | #### Features include:
|
6 |
| -* ALL the power of Python, WebDriver, and Nosetests (pytest also supported) |
7 |
| -* Easy integration with [Jenkins](http://jenkins-ci.org/), [Selenium Grid](http://docs.seleniumhq.org/projects/grid/), [Docker](https://www.docker.com/), and [AWS](http://aws.amazon.com/) |
8 |
| -* A flexible logging system for storing test data, results, and screenshots |
9 |
| -* Libraries for code-simplification, time-saving, and reusability |
10 |
| -* Fully customizable (see [settings.py](https://github.com/mdmintz/SeleniumBase/blob/master/seleniumbase/config/settings.py) in the seleniumbase/config folder) |
| 8 | +* Python libraries for quickly making reliable WebDriver scripts that run fast. |
| 9 | +* Built-in Nosetest & Pytest plugins for logging test data, results, and screenshots. |
| 10 | +* Simple integration with [Jenkins](http://jenkins-ci.org/), [Selenium Grid](http://docs.seleniumhq.org/projects/grid/), [Docker](https://www.docker.com/), and [AWS](http://aws.amazon.com/). |
| 11 | +* Customizable with command-line options and a global config file: [settings.py](https://github.com/mdmintz/SeleniumBase/blob/master/seleniumbase/config/settings.py). |
11 | 12 |
|
12 |
| -*Looking for a real-world business example? Check out HubSpot's blog article on [Automated Testing with Selenium](http://dev.hubspot.com/blog/bid/88880/Automated-Integration-Testing-with-Selenium-at-HubSpot) to learn how all the pieces of web automation come together. For more, read [The Classic "QA Team" is Obsolete](http://product.hubspot.com/blog/the-classic-qa-team-is-obsolete).* |
| 13 | +*Learn how the pros handle test automation: Check out HubSpot's blog article on [Automated Testing with Selenium](http://dev.hubspot.com/blog/bid/88880/Automated-Integration-Testing-with-Selenium-at-HubSpot), and read [The Classic "QA Team" is Obsolete](http://product.hubspot.com/blog/the-classic-qa-team-is-obsolete) for more.* |
13 | 14 |
|
14 | 15 |
|
15 | 16 | ## Part I: MAC SETUP INSTRUCTIONS
|
@@ -230,14 +231,14 @@ Here are some other useful nosetest arguments that you may want to append to you
|
230 | 231 | Due to high demand, pytest support has been added. You can run the above sample script in pytest like this:
|
231 | 232 |
|
232 | 233 | ```bash
|
233 |
| -py.test my_first_test.py --with-selenium --browser=chrome -s |
| 234 | +py.test my_first_test.py --with-selenium --with-testing_base --browser=chrome -s |
234 | 235 |
|
235 |
| -py.test my_first_test.py --with-selenium --browser=phantomjs -s |
| 236 | +py.test my_first_test.py --with-selenium --with-testing_base --browser=phantomjs -s |
236 | 237 |
|
237 |
| -py.test my_first_test.py --with-selenium --browser=firefox -s |
| 238 | +py.test my_first_test.py --with-selenium --with-testing_base --browser=firefox -s |
238 | 239 | ```
|
239 | 240 |
|
240 |
| -(NOTE: If you want to run tests using pytest, you won't have access to the nosetest plugins that are specially defined in SeleniumBase. The nosetest plugins all start with "--with-" and are appended to the test selection in the run commands.) |
| 241 | +(NOTE: I'm currently adding more pytest plugins to catch up with nosetests. The latest one added is "--with-testing_base", which gives you full logging on test failures for screenshots, page source, and basic test info. Coming soon: The DB and S3 plugins, which are already available with nosetests.) |
241 | 242 |
|
242 | 243 | #### **Step 6:** Complete the setup
|
243 | 244 |
|
|
0 commit comments