google-code-export / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Assembly based tests in Resharper #542

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not implemented ExploreSolution in Resharper so I cannot run my not
assembly based tests with Resharper.
My adapter for Gallio works in Icarus but not in Resharper!

Original issue reported on code.google.com by petriashev on 18 Sep 2009 at 9:05

GoogleCodeExporter commented 9 years ago
Can you give an example of an "assembly-based test"?

Original comment by jeff.br...@gmail.com on 18 Sep 2009 at 7:00

GoogleCodeExporter commented 9 years ago
Excuse me, I meant "not assembly based tests"
example:

<test-suite name="Suite1">
  <test-case name="CheckSmth" >
    <act:LoadOperation path="some path" />
    <act:AssertOperation amount="1.00" />
  </test-case>

  <test-case name="CheckSmth2" >
    <act:LoadOperation path="some path2" />
    <act:AssertOperation amount="2.00" />
  </test-case>

</test-suite>

Original comment by petriashev on 21 Sep 2009 at 6:24

GoogleCodeExporter commented 9 years ago
Nifty.  So you have written a custom test framework?

I'm adding it to the v3.2 roadmap but I'm not sure how this will affect 
performance.
 I think ReSharper calls this method only once when a new test session is opened or
is refreshed.  The contract for the method states that it is allowed to explore 
the
solution but should not dig into the projects themselves.  In a very large 
solution
it could take quite a long time to enumerate all of the files in the solution 
and
explore them all...

This might be a special use-case for us to bring up with JetBrains.

Original comment by jeff.br...@gmail.com on 23 Sep 2009 at 11:01

GoogleCodeExporter commented 9 years ago
Yes, I have test framework based on xml, xmlschemas and custom actions like NAnt
actions. Such tests used by our team and now I refactor the framework for 
public usage.
You can see It here: http://code.google.com/p/declarative-test/
I research problem with ExploreSolution:
Resharper calls this method when button "Refresh" clicked.
Exploring solution for getting needed files is quite fast.

Original comment by petriashev on 24 Sep 2009 at 5:58

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 17 Jul 2010 at 8:16

GoogleCodeExporter commented 9 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:53