Are there any .NET testing frameworks which allow dynamic creation of tests without having to deal with a hokey Attribute syntax?
Something like:
foreach (var t in tests)
{
TestFx.Run(t.Name, t.TestDelegate);
}
But with the test reporting as you would expect...
I could do something like this with RowTests et al, but that seems hok...
I'm trying to test Hibernate mappings, specifically a unique constraint. My POJO is mapped as follows:
<property name="name" type="string" unique="true" not-null="true" />
What I want to do is to test that I can't persist two entities with the same name:
public class ExpertiseAreaDAOTest{
private ExpertiseAreaDAO ead;
static ...
Hi does anyone know what causes this error? In Visual Studio 2008 with Visual Assert
Thanks
1>------ Build started: Project: ChessRound1, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocnum(135) : error C2857: '#include' statement specified with the...
Good day,
I am learning Testing in Visual Studio C++ and I have several tutorials which I have followed. I am trying to load a test fixture. I have tried to put the test .cpp file in many different places but it will still not pick up on it when I click on "Run Tests" or "Run Tests without debugging"
In the tutorials I found, they seeme...
Hi,
For some reason I can't get my test's to load in my project.
In the test explorer it says
"This process exited without registering with the agent - this may be due to the module not containing any test fixtures"
....I've tried Right Click->Add TestFixture, and adding them other various ways
I can get it to work on a blank projec...
Hi,
I'm evaluating UI Automation for UI testing for that I have a WPF application with the following button defined:
<Button Style="{DynamicResource ButtonStyle}" x:Name="MyBtn"/>
when I need to visually disable the button I just change the style so the user is aware that the button is disabled (the colour changed) but still the butt...
What program is best to unit test a exe targeted project in Visual Studio 2008, VC++?
...
I have to test a web app and its API for UTF-8 strings.
Webapp has a text field and its API has corresponding getter method, I have to make sure UTF-8 will work, how do I do that?
...
Hi,
I think there's something I don't understand about Branching
How can I run my website from localhost to test my changes made on a Branch
Let's say my branch structure is
-Dev
-UI
-App
Main
-UI
-App
The project UI and App from the main are map in my IIS, it's all working well
Now I want to make some changes in the UI projec...
I am currently testing an API(developed in Java) where it has around 100 jar files, it calls webservices and talks to database. And one interface is exposed to user and it has around 50 methods.
We are testing this API through by writing some workflows and junit test cases for these 50 methods.
Are there any commercial or free produc...
Is it possible to write a script that will login to an application using uname/pwd?
the username/password are not passed in through POST (they dont come in the URL)
Basic steps I am looking for are:
Visit url
enter uname/pwd
click a button
click a link
get the raw html to make sure it does not have 500 error
Is that possible to do...
I am trying httpUnit for the first time and just trying to get a response back from google.com.
However, I keep getting the following error:
com.meterware.httpunit.dom.HTMLDocumentImpl not found
Though, I have placed httpUnit.jar in the libraries folder of my NetBeans project and can actually see that class file is there.
Any experi...
Is the WebAii framework still available and free? Am I just missing it?
After putting it off for too long, I've finally started automated UI testing on my current project. I had WebAii from ArtOfTest on my list to look at, but it looks like it's been killed off by Telerik and now they're asking $1500 for their new WebUI test studio. ...
Hi,
I have a question about unit testing.
Say I have a controller with one create method which puts a new customer in the database:
//code a bit shortened
public actionresult Create(Formcollection formcollection){
client c = nwe client();
c.Name = formcollection["name"];
ClientService.Save(c);
{
Clientservice would call ...
when i run
rake test --trace
here's what happens
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:...
I have inherited a large and firaly complex state machine at work.
It has 31 possbile states to be in.
It has the following inputs:
Enum: Current State (so 0 -> 30)
Enum: source (currently only 2 entries)
Boolean: Request
Boolean: type
Enum: Status (3 states)
Enum: Handling (3 states)
Boolean: Completed
The 31 States are really nee...
I'm looking for a way to allow potential customers to try my application before they buy it.
The product is a windows forms application that requires an SQL Server database to operate.
Although I have a functional demo that the customer can install on their network, I want to make it easier for them by have them "play" with it at my en...
I'm in charge of at least one large body of existing PHP code, that desperately needs tests, and as well I need some method of checking the production site for errors.
I've been working with PHP for many years, but am unfortunately new to testing. (Sorry!).
While writing tests for code that has predictable outcomes seems easy enough,...
We have developed an API for an application using Java. Are there any special tools or products avaialble to test an API?
...
Hi all,
I am creating test cases and I need to cover circular dependencies. So far I have been able to create two tables such that Table A has a FK to B and B has a FK to A.
What other circular dependencies exist / are allowed between objects? I tried to create cycles between Views but Oracle successfully rejected that.
...