We are in the process of migrating an old asp.net 2.0 app to asp.net mvc5 webapi 2 and Aurelia. Currently the designer and developer are not breaking the pages down into components perhaps as much as they should and some of the old pages are very complex with a lot of logic. I have a sample of a simple page that we converted here https://pastebin.com/3mLupYC4 C&C please.
I could use some guidance about unit testing on the Aurelia side. We do not have a lot of experience with unit testing but have some concerns.
I feel that refactoring and testing the methods would be of more isolated. If the dom, client.fetch, and Aurelia bindings is not part of the methods under test.
Has anyone seen or know of a real world project with unit-tests that I could look at the structure of the project and unit testing on github or other public repository?
Anyone using unit tests and Aurelia please leave some feedback as how to handle this large project at the 50,000 foot level.