Announcement

Collapse
No announcement yet.

How can I test code written in project with Bridge.NET?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    How can I test code written in project with Bridge.NET?

    Hello, I've created Bridge.NET application with complex algorithm. I've written first part of the algorithm and I want to test it. Is there any way I could test my code without having to create HTML file and write all the output there? How can I use, for example, unit tests? Can I use unit tests?

    The problem is, that I use List<> in my code. And Bridge.Net List<> is different to C#.Net List<>. So when I want to manipulate list in unit tests (add/read items), I have to include Bridge.Net. But including Bridge.Net ruins the unit test -> it throws a lot of syntax errors (visual studio doesn't recognize any part of unit tests (like [TestMethod])) and I cannot use it.

    How can I use Bridge.Net List<> inside unit tests?

    Thanks, Peter
Working...
X