The purpose of this project is to demonstrate how you can use Behaviour Driven Development (BDD) and Test Driven Development (TDD) for Dynamics 365 CE
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dyn365-CE-BDD Initial Solution Mar 4, 2018
.gitignore Initial Solution Mar 4, 2018
README.md Added Initial documentation Mar 4, 2018

README.md

BDD/TDD for Dynamics 365 CE

This project contains samples to show you how you can use BDD and TDD for Dynamics 365 CE projects.

As patterns emerge we can then package these into a re-usable framework.

Getting Started

To open and run the sample you will need:

  • Visual Studio 2017
  • SpecFlow Extension for Visual Studio 2017
  • A Dynamics 365 CE Instance
  • 3 Environment variables at user level (CrmUsername, CrmPassword, CrmUrl)

Sample Contents

The sample contains the following projects

Acceptance Tests

This is based on UI Automation tests using EasyRepro Framework.

System Tests

This is based on integration tests using CRM SDK Services.

Unit Tests

This is based on the FakeXrmEasy Unit Testing Framework

More Information

You can learn more about BDD for Dynamics 365 CE in this Blog.

You can learn more about BDD: https://www.agilealliance.org/glossary/bdd/

You can learn more about SpecFlow: http://specflow.org/getting-started/#InstallSetup

Contribution

You are more than welcome to contribute and provide feedback.

BDD and TDD are just frameworks and can be used in different way and different contexts, please fork the respository and raise a Pull Request with any scenario you would like to add.