# EUnit Discovery

**URL:** https://talk.remobjects.com/t/eunit-discovery/11785
**Category:** EUnit
**Tags:** silver
**Created:** [January 1, 2017, 4:54pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785 "2017-01-01T16:54:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![madamm](https://talk.remobjects.com/user_avatar/talk.remobjects.com/madamm/32/259_2.png) [@madamm](https://talk.remobjects.com/u/madamm)
#### Post date: [January 1, 2017, 4:54pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785/1 "2017-01-01T16:54:00Z")

</div>

Happy new year Everyone!

I have a test runner file:

```
import RemObjects.Elements.EUnit

let lTests = Discovery.DiscoverTests()
Runner.RunTests(lTests, withListener: Runner.DefaultListener)

```

And the following test class:

```
import RemObjects.Elements.EUnit

public class DNA : Test {

public func FirstTest() {
	Assert.IsTrue(true)
}
}

```

After DiscoverTests call the quantity of lTests are zero. What can be the problem? Thank you!

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [January 1, 2017, 5:56pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785/2 "2017-01-01T17:56:16Z")

</div>

Hard to say, just from this. What platform, and what version of Elements are you using? can you send me the project so i can have a look?

Happy new year to you, as well!

---

<div class="post-metadata">

### Author: ![madamm](https://talk.remobjects.com/user_avatar/talk.remobjects.com/madamm/32/259_2.png) [@madamm](https://talk.remobjects.com/u/madamm)
#### Post date: [January 1, 2017, 6:25pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785/3 "2017-01-01T18:25:45Z")

</div>

Hello Marc!

Here is the solution, I built it on Default build platform, .Net, Silver:

[Rosalind.zip](https://talk.remobjects.com/uploads/default/original/2X/7/7a28741bd82ac2e7755748b5063b5d2ed8d71952.zip) (57.6 KB)

Microsoft Visual Studio Enterprise 2015  
Version 14.0.25123.00 Update 2  
Microsoft .NET Framework  
Version 4.6.01586

Installed Version: Enterprise

RemObjects Elements 9.0.97.2071  
RemObjects Elements (Oxygene, C# and Silver) for .NET, Cocoa and Java.  
Copyright 2003-2016 RemObjects Software, LLC. All rights reserved.

> **[Elements. Build native projects for any modern development platform, using...](https://www.remobjects.com/elements/)**
>
> Elements is a multi-platform development toolchain. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go.

RemObjects Elements leverages the LLVM compiler backend:  
Copyright (c) 2003-2016 University of Illinois at Urbana-Champaign. All rights reserved.  
[http://llvm.org](http://llvm.org)

RemObjects Everwood 4.7.79.695  
RemObjects Everwood  
Copyright RemObjects Software, LLC 2002-2016. All Rights Reserved.

> **[Everwood | RemObjects Software](https://www.remobjects.com/everwood.aspx)**

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [January 2, 2017, 12:36pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785/4 "2017-01-02T12:36:00Z")

</div>

Could this be part of the problem:

 ![](https://talk.remobjects.com/uploads/default/original/2X/d/d32b480648af967d3b853a4f10c34b7b52c2249d.png)

---

<div class="post-metadata">

### Author: ![madamm](https://talk.remobjects.com/user_avatar/talk.remobjects.com/madamm/32/259_2.png) [@madamm](https://talk.remobjects.com/u/madamm)
#### Post date: [January 2, 2017, 3:05pm UTC](https://talk.remobjects.com/t/eunit-discovery/11785/5 "2017-01-02T15:05:40Z")

</div>

Thank you! I don’t know why was it set to content. Thank you again!
