Tag Archives: Test

Test Results

pasupuleti2 created the topic: Test Results Rajesh, How to get the results with graphics for each action in each build in Jenkins Ex: checkout code from Git -> 1 min Build -> 3 mins unittest -> 15mins (why it is taking 15 mins) integration test -> 3 mins Deployment -> 2 mins (2 different locations)… Read More »

Write 10 Chef Cookbooks to test your chef programming skills

Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service. Write a recipe using template resources to create a file, but only if an attribute has a specific value. Write a recipe to create a file using a string, but not if “/etc/passwd” exists?… Read More »

Write 10 Chef Cookbooks to test your chef programming skills

Write a cookbook using you can install apache http server in CentOs and Ubuntu, enable the services and start the service. Write a recipe using template resources to create a file, but only if an attribute has a specific value. Write a recipe to create a file using a string, but not if “/etc/passwd” exists?… Read More »

SQL Injection: How to check or test for vulnerabilities

SQJ Injection There are a number of ways of testing an application for vulnerabilities such as SQL Injection. The tests break down into three different methodologies: Blind Injection: MySQL example: http://localhost/test.php?id=sleep(30) If this SQL statement is interpreted by the database then it will take 30 seconds for the page to load. Error Messages: http://localhost/test.php?id=’” If… Read More »

Difference between Code Coverage and Test Coverage | Code Coverage VS Test Coverage

There is not any official distinguished between code Coverage and Test Coverage. Some practitioner has expressed their difference opinion in terms of defining Code Coverage and Test Coverage. Code coverage and test coverage metrics are both measurements that can be seful to assess the quality of your application code. Code coverage is a term to… Read More »

JUnit 4 Test Logging Tips using SLF4J

When writing JUnit tests developers often add log statements that can help provide information on test failures. During the initial attempt to find a failure a simple System.out.println() statement is usually the first resort of most developers. Replacing these System.out.println() statements with log statements is the first improvement on this technique. Using SLF4J (Simple Logging… Read More »