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.
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)
The sample contains the following projects
This is based on UI Automation tests using EasyRepro Framework.
This is based on integration tests using CRM SDK Services.
This is based on the FakeXrmEasy Unit Testing Framework
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
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.