While testing the payment gateway for some eCommerce site, is there any way to check if the cookies are saving the user's credit card details? If so, can we verify if they are in encrypted form?
Hello everybody.
My current career is in software testing, but I feel that I am wasting my time, maybe because I don't know the future path of this career, and where I will arrive in the future if I continue in this career. And I don't know how can I develop myself in this career. Can I have my own job in this field? Please give me good suggestions and opinion.
Many thanks.
I am looking for good books and articles on user-interface testing.
What they should contain (one or more of):
different test methods/strategies
examples, use cases
naming pros and cons for different methods
something important I might have forgotten :-)
What they should not be:
Only about general tests and not gui tests
describing a test framework limited to a single language
What are the best resources you know of?
(preferably language agnostic)
Hi All,
What would be the ultimate web application browser compatibility test machine be? The testing environment would be (XP: IE6,FF3.6), (XP: IE7,Chrome), (XP: IE8,Safari), (MacOsX: Safari, FF3.6, Chrome), (Ubuntu: FF3.6, Chrome)
Of course I want it all in one machine, my initial thought was Using a MacOsX as a host machine and use virtual box to install 3 xp and one ubuntu on it.
Do you think it is an optimal solution? Do you have any better solution to achieve the above?
I want to have a test that testing the inexistent of this http headers, using NAnt and NUnit:
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Edit: I'm asking hot to actually test this rule: "don't have asp headers". so, I can have this test in each new website that I'm doing, so it make it easier no to forget this simple step.
I migrated from Java to C# and so I am wondering how to unit tests in C#. I remember using JUnit to test my Java applications and importing the package, etc. How can I unit test in C#? What are some good resources for unit testing in C#?
I've been working with a document repository using XQuery (via Java and .NET interfaces) and was wondering if anyone has any recommendations for unit testing XQuery modules?
whenever i run the unit testing application to find whether appdelegate is there r not using the test suit
-(void)testAppDelegate
{
id app_delegate=[[UIApplication sharedApplication]delegate];
STAssertNotNil(app_delegate,@"delegate not found");
}
i got this error. Please help.
"_OBJC_CLASS_$_UIApplication", referenced from:
objc-class-ref-to-UIApplication in Tests.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
If all the business logic is present in a datamodule (TSQLDataSets and TDataSetProviders) how would you refactor the code to make the application more appropiate for unit testing?
Let say I have written a small program that reads file_A and file_B as input data of test_case_A and test_case_B, passes the input to component_X which needs to be test, then verifies result against predefined expectation. That component_X could be in the same process, or different process on another machine.
I try to learn more about testing, but confused by various terms. Take above scenario as example, which of them is fixture/mock/harness/stub? Thanks.
Looking for a tool to UI testing on Linux .Platform used for development is django.
The idea is that the analysts will capture the tests thru some UI and it will be able to be played back over and over again.
I need to write two versions of the same application, one in .NET and the other one in Java.
So I'd like to write a single test suite, and then use it against both codebases.
Which testing tool would you advise me to use?
I'm trying to run the unit tests from the gflags project, and I'd like
to know how to run them and what unit testing framework it is using to
do this.
I'm using Visual Studio 2005.
I'm sort of new to Perl and I'm wondering if there a prefered unit testing framework?
Google is showing me some nice results, but since I'm new to this, I don't know if there is a clear preference within the community.
My current project based in Asp .net makes considerable use of Http handlers to process various requests? So, is there any way by which I can test the functionality of each of the handlers using unit test cases? We are using Nunit and Moq framework to facilitate unit testing.
Starting new project using EJB 3 / JPA, mainly stateless session beans and batch jobs. I've used JUnit in the past on standard Java webapps and it seemed to work pretty well. In EJB2 unit testing was a pain and required a running container such as JBoss to make the calls into. Now that we're going to be working in EJB3 / JPA I'd like to know what companies are using to write and run these tests. Are Junit and JMock still considered relevant or are there other newer frameworks that have come around that we should investigate?
I've followed the Unit Testing Applications guide from the iPhone Development documentation. I followed all the steps and it worked with the TestCase from the documentation. But as soon as I changed the TestCase to test real Code from my project I ended up with linker errors. All classes that are used in the TestCase are reported as missing.
I've already searched the internet and found that the Bundle Loader property must be set to "$(BUILT_PRODUCTS_DIR)/MyApplication.app/Contents/MacOS/MyApplication". But this also fails because the file could not be found.
Any ideas what I have to do to tell the linker where to search for the missing files?
Hi
I was testing my app on the simulator when it crashed on clicking a button of a UIAlertView. I stopped debugging there, made some changes to the code and built the app again. Now when I run the application, I get this error in the console
Couldn't register com.myApp.debug with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.
I tried removing the app from the simulator, doing a clean build but I still get this error when I try to run the app.
Can someone please let me know what I should do to be able to run the app on my simulator again.
Thanks.
Hey,
I'm trying to do A/B testing and I'm using Nginx fo this purpose. My Nginx config file looks like this:
events {
worker_connections 1024;
}
error_log /usr/local/experiments/apps/reddit_test/error.log notice;
http {
rewrite_log on;
server {
listen 8081;
access_log /usr/local/experiments/apps/reddit_test/access.log combined;
location / {
if ($remote_addr ~ "[02468]$") {
rewrite ^(.+)$ /experiment$1 last;
}
rewrite ^(.+)$ /main$1 last;
}
location /main {
internal;
proxy_pass http://www.reddit.com/r/lisp;
}
location /experiment {
internal;
proxy_pass http://www.reddit.com/r/haskell;
}
}
}
This is kind of working, but css and js files woon't load.
Can anyone tell me what's wrong with this config file or what would be the right way to do it?
Thanks,
Alex
We have a framework that offers A/B split testing.
You have a 'champion' version of a page and you develop a 'challenger' version of it.
Then you run the website and allocate some of your users the champion and some the challenger and measure their different responses.
If the challenger is better than the champion at achieving your metrics then you dethrone the champion and develop a new challenger...
My question is what mechanisms should I consider to allocate the versions?
A number of options spring to mind:
odd or even IP address (or sub-segments) ****.****.****.123 gets champion but .124 gets challenger
cookie push - check for a champion/challenger cookie, if it doesn't exist randomly allocate the user to one and push the cookie
Best practice? suggestions? comments? experience?
Please forgive me as I don't quite remember the exact terms for what I am talking about... hence my question.
Recently I worked on a large Agile team where I encountered a method of defining user scenarios (much like user stories).
These scenarios were a few very basic short sentences with keywords and a structure that could be understood by humans (especially project managers) and could also be coded against using some Java Framework (for verifying tests).
The exact structure of this mini language used keywords like "when" and "and" or "if" which was how the framework parsed and verified the result. The purpose of this framework was to interface between management and the acceptance testing framework. So essentially management could write the tests themselves using English.
The scenario went something like this:
"When a user visits URL
and
User clicks on X
Something happens (that can be measured)"
Can anyone help me remember exactly what I am talking about?
Many thanks
Did anyone get that to work? I mean, unit testing .Net CF apps on Windows Mobile 6.5.3 in Visual Studio 2008.
It works great for a WM 6 Pro target, but not for a WM 6.5.3 target.
I get this error:
The test adapter ('Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestAdapter,
Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter, Version=9.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a') required to execute this
test could not be loaded. Check that the test adapter is installed properly.
Not enough storage is available to process this command.
Yes, I can read the error text, but I don't understand the failed run.
Any clues?