christopher-bimson / Examples

A place to put simple examples so I can reference them easily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Examples

I often find myself coding up small examples of approaches or technology for illustrative purposes. Rather than redo them on an ad-hoc basis, I'm going to start keeping them here.

Selenium Page Objects

This is a very simple demonstration of the Selenium Page Object pattern, using Google search as the example system under test.

The tests are built with Xunit and FluentAssertions which are nice tools, but not the point of the example.

Using Selenium with Specflow

A simple example of how to combine Selenium and Specflow together to create automated acceptance tests.

It is built on top of the Page Object example using Xunit and FluentAssertions but those are tool choices and not the point of the example.

Note that it is not neccessarily an example of how to write Specflow features and scenarios (see comments in the code for more details) and the example is too small to demonstrate any particular method of organising test automation code.

About

A place to put simple examples so I can reference them easily.

License:GNU Affero General Public License v3.0


Languages

Language:C# 90.9%Language:Gherkin 9.1%