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 UnitTest project template #29

Open
mmnosek opened this issue Jan 20, 2018 · 4 comments
Open

Add UnitTest project template #29

mmnosek opened this issue Jan 20, 2018 · 4 comments

Comments

@mmnosek
Copy link

mmnosek commented Jan 20, 2018

Starting from 2.4, we support self-hosted mode and unit tests, finally. For now, we've started with this cookbook in documentation but I think we can make the experience better.

There is a code to repeat while setting up a unit test project. Isn't it possible to include "Starcounter Unit Test" template into our visual studio extension? Points 1-5 from the Unit Test cookbook can be definitely covered by such template. Plus, additionally, such template will immediately indicate that Starcounter supports unit tests "natively". @joozek78 also mentioned that some of this code can be tested on NuGet, not in the template. If this really makes sense, why not.

@miyconst @ubbeK @Mackiovello what do you think?

@Mackiovello
Copy link
Contributor

I tried to do this right after writing the cookbook page: https://github.com/Starcounter/Starcounter.VisualStudio/commits/XUnitTemplate

If I remember correctly, I failed to add XUnit to the template.

This is a nice-to-have but far from a priority. Although, if you know how to do it, creating the template should be trivial since you basically just have to copy-paste the code.

@miyconst
Copy link
Member

Since XUnit tests support is one of the public key features of the Odessa (2.4) release, the template has to be implemented. The only question is when and by whom.

@ubbeK
Copy link
Contributor

ubbeK commented Jan 22, 2018

Sounds like a good idea in order to help out with tests for Starcounter apps. The project should not be called UnitTest though since we will never know what kind of level a developer / tester will use the project at. Hence, throw out Unit and only call it Test (or with any combination of another key word like Starcounter).

@Mihaiii
Copy link
Contributor

Mihaiii commented Sep 23, 2018

I don't know how urgent is this, but I can take it after 15.10.2018.
Is it's needed before that, please remove my assignment.

@Mihaiii Mihaiii self-assigned this Sep 23, 2018
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

5 participants