Questions tagged [test-project]

35 questions
3
votes
1 answer

How to add an assembly reference in unit test project?

I want to add a reference to an assembly in my unit test project, because it has to be referenced in order to call the method to be tested, but... I can't. I don't have the option to do so in the "Add reference" window in Visual Studio. I can only…
DMX David Cardinal
  • 599
  • 2
  • 7
  • 19
3
votes
1 answer

Make Android test project available without source code ("make apk of the test-project")

I have an Android test project based on InstrumentationTestCase and using AndroidJUnitRunner. I need to provide my project to another party but I don't want to provide the source code. Currently I have two projects: a Java project that installs the…
Inês
  • 882
  • 3
  • 13
  • 28
3
votes
2 answers

Convert Test Projects in VS 2008 to 2010

We are currently building the framework for developing a C# .net application using visual studio 2008. We are considering our options wrt. the unit test code for this project. One option is the Test Project in Visual studio. I need to clarify if…
Russell
  • 17,481
  • 23
  • 81
  • 125
3
votes
2 answers

Test Method for constructor

Working on a event scheduler with TDD and writing test project for the below class. Decided to write a test methods for Constructor logic public class TechDay { public Session MorningSlot { get; set; } public Session EveningSlot { get; set;…
Billa
  • 5,226
  • 23
  • 61
  • 105
2
votes
1 answer

Is there a way to run my own coded tests using TestProject.io agent?

I have TestProject.io agent installed on my system and I can record tests, how ever I want to run my own coded python selenium tests, how can I do it? is that an option? will I get reports locally?
2
votes
1 answer

Is it possible to download the VS2008 "Test Project" template?

For some reason, my visual studio 2008 installation doesn't have the "Create Test Project" template installed. I'm assuming I should be able to download it from somewhere on MSDN, but I cannot find it anywhere (Guess my Google-Fu is weak) Does…
Senkwe
  • 2,256
  • 3
  • 24
  • 33
2
votes
1 answer

iOS: Compiling Static Libraries

I'm trying to build my first static library and i'm having a compile problem. I mean I can compile my library and every thing looks fine, but when I set up a test project to test it I got this kind of error: ld: warning: ignoring file …
Riccardo Queri
  • 1,025
  • 1
  • 10
  • 16
1
vote
1 answer

couldn't find file hibernate.cfg.xml

I want to run a test-porject (with the usage of NHibernate). I configured NH in the app.config. Why do I get this error? Could not find file 'C:\Users\elad\Documents\Visual Studio …
Elad Benda
  • 35,076
  • 87
  • 265
  • 471
1
vote
1 answer

What are Test Projects in Visual Studio 2010?

I am moving from 2008 to 2010 to try out some of the C++0x features but I noticed that there are test projects in 2010, what are these and how can I use them in my environments?
James Linden
  • 1,055
  • 3
  • 11
  • 21
1
vote
2 answers

why process give null inputstream in test runner class?

In my android test project, I simply read the logcat using adb command like, public StringBuilder log=new StringBuilder(); public String line=""; public String temp=""; public void testSolo() throws Exception { String…
user370305
  • 108,599
  • 23
  • 164
  • 151
1
vote
0 answers

Automated test not able to run

I try to make an automation test with TestProject SDK on FireFox Web, when i try to run the test i recived the following message : Message: System.TypeLoadException : Could not load type 'OpenQA.Selenium.Remote.ICommandExecutor' from assembly…
1
vote
1 answer

Set up .NET library project correctly, so that I don't need to copy DLL's and other files to calling programs

I always face the following problem at a certain moment with .Net library projects: I have to copy over resources such as dll's to programs that call the .Net library. For example, I have a library that does some sound manipulation. I have a…
Gerhard Schreurs
  • 663
  • 1
  • 8
  • 19
1
vote
0 answers

Is .vsmdi file is supported in VS2017

We are migrating our source code from VS 2012 to VS 2017. Our code is combination of both managed (c#) and native (c++). We also had test projects to test our implementation. As part of this, we have managed "MyProjectTest.vsmdi" file. Since we are…
1
vote
0 answers

Github open repository only for several persons

I have a task on GitHub for interview with new applicants on some developers positions in a company. How can I open this task only for several people, so each can send me a pull request but no one could see others results? If I add them to the repo…
Eugene Lisitsky
  • 12,113
  • 5
  • 38
  • 59
1
vote
2 answers

Why can't I see any console or trace output when running load tests in VS 2015?

I've got DEBUG and TRACE defined. I've tried Trace.WriteLine, Debug.WriteLine, Console.WriteLine, and TestContext.WriteLine. In the Test Results window, I've added columns for Output (StdOut), Errors (StdError), Debug Trace, and Stack Trace. I've…
Paul Kienitz
  • 878
  • 6
  • 25
1
2 3