This seems like a simple question but I can't find the answer anywhere. I've noticed that in general, tests in a Ruby on Rails app can be written as:
test "the truth" do
assert true
end
or
def the_truth
assert true
end
It seems newer material writes tests the first way, but I can't seem to find a reason for this. ...
I have a functional test suite failing in a Rails 2.2.2 application. The exception thrown, and the associated lines are below:
ActionView::TemplateError: Attempt to call private method
On line #55 of app/views/wine/view.html.erb
53: <% for activity in @activities %>
54:
55: <% if activity.context == 'ItemComment' ...
I'm looking for a test framework that helps me test XAML views/controls. Not just to verify correct data binding but especially to test the appearance and behavior of more complex controls. Obviously this will usually result in manual tests.
What I have in mind would look something like this:
Write a normal unit test using whatever un...
Hi,
Overview
Our company's current system test cycle involves the use of word documents for the UI test scripts and test execution log.
For each new release, these documents are copied from the previous release and then modified to reflect the current release version together with new test steps where there are changes in functionalit...
Currently we are using Rational Purify, however it is a pain to use and we have now reached the stage where we are unable to instrument our applications without changing our development build system.
The our application is statically linked and large. It is also memory hungry, where peak memory usage is often over 3Gb.
Ideally I would ...
I'd like to have historical memory of the test cases I usually do to verify a software suite, and the company in which I work now uses word or excel docs for this task, but I'd like something more focused on the type of task. What do you use? Is there any open-source software to fill with test cases?
Thanks
...
Some DO facts:
two developers in a team
we write unit tests (auto run with every build)
we use source versioning control system (SVN)
we (the two developers) are product managers as well (a classic situation with high risk of product over-engineering)
Some DON'T facts
we don't have nightly builds
we don't have continuous integratio...
After building up and running lots of WatiN tests, what are some good ways to organize the tests? If I was asked "Do we have a test that does X, then Y?" How would I look that up? Would it be with all tests surrounding X or Y?
It seems after getting lots of tests in here, organization becomes a bit of an issue. I'm just looking for some...
I am looking for a test automation tool that supports eclipse based plug ins for all web browsers and it sholud be cross platform. pls send me suggestions
...
hi,
I need to test some script using PHP's mail. I'd like to be able to finally get this working locally. I am using MAMP. Is there a way to do this without installing any third party software?
I've done some searching on this but haven't found anything appealing.
Thanks
...
I have a project which I am building with Maven which uses Hibernate (and Spring) to retrieve data from a database, etc.
My "tests" for the DAOs in my project extend Spring's AbstractTransactionalDataSourceSpringContextTests so that a DataSource can be wired into my class under test to be able to actually run the query/Hibernate logic, ...
Hi.
I'm testing a Swing GUI application using the UISpec4J testing framework. I'm testing validation code on a JTextField, but the framework does not support focus-change events, as it runs the application in a headless fashion.
The text field has a DocumentEvent attached to it that activates the validation code. I'm trying to figure o...
Hi,
I'm sometimes using Selenium (mostly IDE to write tests, and Core / RC to run them) from PHP, using PHPUnit, and I was wondering : do you know any "big" project that uses Selenium for automated functional / non-regression testing ?
I would most be interested in
Open Source
Ideally, PHP ; but JAVA and/or .NET would do too
Well-kn...
When I use Selenium IDE that is extension of Firefox.
After that I save some test case from Selenium IDE.
Now I want to use command line to run this test case file.
I try to do follow this how-do-i-launch-the-selenium-ide-from-the-command-line-with-a-specific-test-case but it not work.
Please help me.
...
I am trying to automate testing of a winform application. I am running it in the same process as the test code, so it is fairly easy to find the .Net controls and simulate user action on them. I got however stuck a bit with a message box (created using the standard MessageBox.Show method). How can I get hold of it and simulate that a but...
How does one test an architecture? Are there test-related things that can be done while the architecture is still being pounded into shape?
I plan to iterate but I don't want to wait to have an entire architecture done (even if it's very rough) before I start thinking about testing.
Update:
I'm using the word architecture the way it's ...
When I run tests with ./manage.py test, whatever I send to the standard output through print doesn't show. When tests fail, I see an "stdout" block per failed test, so I guess Django traps it (but doesn't show it when tests pass).
...
I've got an interrupt handling module which controls the interrupt controller hardware on an embedded processor. Now I want to add more tests to it. Currently, the tests only tests if nesting of interrupts works by making two software interrupts from within an ISR, one with low priority and one with high priority. How can I test this mod...
I have an server-application Foo that listens at a specific port and a client-application Bar which connects to Foo (both are .NET-apps).
Everything works fine. So far, so good?
But what happends when to Bar when the connection slows down or when it takes a long time until Foo responds? I have to test it.
My question is, how can I sim...
I'm trying to implement some front end testing in a ASP.NET web application, and I would like to know how do the several web testing frameworks compare. Especially MSTest's "Web Tests", because I haven't seen a lot of info about them, and since it seems to have a nice integration with Visual Studio.
Related posts:
WatiN or Selenium?
Wat...