Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C# based Integration Tests #2190

Open
stevejgordon opened this issue Dec 12, 2017 · 1 comment
Open

Add C# based Integration Tests #2190

stevejgordon opened this issue Dec 12, 2017 · 1 comment
Assignees

Comments

@stevejgordon
Copy link
Member

stevejgordon commented Dec 12, 2017

I have recently been trying with some integration testing on a demo project using the TestServer. This supports firing up the application in memory and hitting endpoints using a client to validate the responses.

See: https://blogs.msdn.microsoft.com/webdev/2017/12/07/testing-asp-net-core-mvc-web-apps-in-memory/

I know we have some Scenario tests written using F#, however I have never run those personally. I know for some they do not load since the F# components need to be installed also. Having reviewed them briefly there seems to be quite a lot of ceremony to configuring the flow.

I therefore suggest we look at introducing some C# based integration tests. These may augment or replace the F# ones. They may be more maintainable for those without an F# background too.

@MisterJames What are you thoughts?

I have a branch with an initial demo of the concept which I could submit a PR for. We could then look to build these over time as part of on-going issues?

@c0g1t8
Copy link
Collaborator

c0g1t8 commented Apr 2, 2019

I've started implementing a browser based testing project implemented in C#/Selenium/XUnit/Core 2.1. I'm hoping it will address the issues in the AllReady.ScenarioTest project - please see #2345. The project takes no dependencies from any other projects in the AllReady solution.

@c0g1t8 c0g1t8 mentioned this issue Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants