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

Implement unit testing. #74

Open
phantomtypist opened this issue Oct 19, 2017 · 4 comments
Open

Implement unit testing. #74

phantomtypist opened this issue Oct 19, 2017 · 4 comments
Assignees

Comments

@phantomtypist
Copy link
Contributor

I think it would be beneficial to implement unit testing in general so that we can use it to validate code and intended behavior in certain places.

The first tests I'd like us to create would be to validate #53

@phantomtypist
Copy link
Contributor Author

Due to limitations in Visual Studio (even 2017), we aren't going to be able to run multi-targeted tests within Visual Studio in the Test Explorer ;(

https://github.com/nunit/docs/wiki/.NET-Core-and-.NET-Standard#my-tests-multi-target-net-core-and-net-framework-why-cant-i-run-both-in-visual-studio

We'll have to drop to the CLI and run the dotnet test command with the --framework.

The build script will already be doing this anyways so there is no problem there. It's more of a papercut for us devs. My impression is the Test Explorer was designed in mind for the masses which don't usually have multi-targeted projects to the extend we do, or will have once we add .NET Core support.

c'est la vie

@phantomtypist
Copy link
Contributor Author

My comment immediately above applies for any test framework including xUnit, NUnit, and MS Test.

@phantomtypist
Copy link
Contributor Author

For right now I'm just going to focus on implementing the unit testing with just the .NET Framework in mind. I'll worry about unit testing everything when we eventually add .NET Core support into the mix.

@eastsea2
Copy link

Sir,

I am trying to set up the ExampleWebSite. It gave me this error message
&&&&&&&&&&&&&&&&&&&&&&&&&&&&
The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Can you help me? What is wrong in my web.config?
This is the lines I edited in the file:
##########################################
<casClientConfig
casServerLoginUrl="https://login.vcu.edu/cas/login"
casServerUrlPrefix="https://login.vcu.edu/cas/"
serverName="donghai.vcu.edu/CAS1.1/ExampleWebSite/"
............
<forms
loginUrl="https://login.vcu.edu/cas/login"
##########################################

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants