Posts

Showing posts from July, 2017

Love this from Google - Code Health: To Comment or Not to Comment?

Code Health: To Comment or Not to Comment?This is another post in our Code Health series. A version of this post originally appeared in Google bathrooms worldwide as a Google Testing on the Toilet episode. You can download a printer-friendly version to display in your office. By Dori Reuveni and Kevin Bourrillion While reading code, often there is nothing more helpful than a well-placed comment.

Migrating an existing project to a new git repo

Image
Create a new repositoryon GitHub. To avoid errors, do not initialize the new repository withREADME, license, orgitignorefiles. You can add these files after your project has been pushed to GitHub. Open Git Bash. Change the current working directory to your local project. Initialize the local directory as a Git repository. git init Add the files in your new local repository. This stages them for the first commit. git add .# Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD YOUR-FILE'. Commit the files that you've staged in your local repository. git commit -m "First commit"

Applitools raises $8 million AI powered computer vision / JIRA gets a new exploratory testing tool

Applitools raises $8 million for its quality assurance computer vision Software testing company Applitools has raised $8 million for its technology that uses computer vision to recognize changes to websites or mobile apps like typos, missing icons, or other content. Developers using Applitools can catch mistakes or spot variations between version history or web browsers.
Tricentis reveals first JIRA testing tool, enabling agile teams feedback Tricentis has released its first exploratory testing tool for Atlassian JIRA's testing industries, enabling agile teams to keep pace with accelerated release cycles and for faster feedback on quality matters. Focusing on quality, testing times and resources, the software testing company will help agile teams reliably deliver comprehensive feedback on applications under test, whilst providing a flexible pace with constant change.

Crawler-Lib Concurrency Testing

Image
The Crawler-Lib Concurrency Testing Helper allows to write unit tests with multiple threads to test the concurrency behavior of components. It has synchronization mechanisms to control the workflow of the threads and to record the execution steps. It is also possible to use it for client/server tests like PNUnit, but in one test. It can be used in conjunction with any unit test framework or with simply handwritten tests.It is also possible to use it for client/server tests.

Automation Testing Trends that are still valid!

Image
Source: http://www.testing-whiz.com/blog/15-test-automation-trends-of-2016

Coypu - magic for Selenium

Image
Coypu is an advanced wrapper for Selenium. Coypu supports browser automation in .Net to help make tests readable, robust, fast to write and less tightly coupled to the UI.
If your tests are littered with sleeps, retries, complex XPath expressions and IDs dug out of the source with FireBug then Coypu might help.

As coypu has evolved over a period of time, the tool understood the pain points of selenium testers, hence you don’t really have to think of
Creating browser object and working with different browsersFinding controls by complex Xpaths, CSS etc Coypu isA robust wrapper for browser automation tools on .Net, such as Selenium WebDriver that eases automating ajax-heavy websites and reduces coupling to the HTML, CSS & JSA more intuitive DSL for interacting with the browser in the way a human being would, inspired by the ruby framework Capybara - http://github.com/jnicklas/capybara
install nuget package Install-Package Coypu visit https://github.com/featurist/coypu

Git Tricks - Commit message

Image
## I am using git. I did a pull from a remote repo and got an error message: "please enter a commit message to explain why this merge is necessary,especially if it merges an updated upstream into a topic branch."
I try to type a message and press enter but nothing happens.

It's not a Git error message, it's the editor as git uses your default editor.

To solve this:

press "i"
write your merge message
press "esc"
write ":wq"
then press enter

Haven't heard this one before - How to improve your software testing skills by following Isaac Newton's strategies

Some morning inspiration for testers!


How to improve your software testing skills by following Isaac Newton's strategies How to improve your software testing skills, by following these strategies, that's how. Based on a quick book recommendation - Isaac Newton by James Gleick I want to explain how we can learn lessons from his approach to his work and career. Isaac Newton didn't just work from contemporary materials.

How to fix .NET Framework 3.5 Error 0x800f081f in Windows 10

Image

VS 2017 + SpecFlow + Random error + Windows10 + .Net Framework 2.0 and 3.0

Image
Error

The "TechTalk.SpecFlow.Tools.MsBuild.GenerateAll" task could not be loaded from the assembly ~\packages\SpecFlow.Plus.Excel.1.2.0\tools\specflow.exe.
Could not load file or assembly 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified.
Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask

Solution:

So I decided to get to specflow.exe from here
~\packages\SpecFlow.Plus.Excel.1.2.0\tools

and when I double click the exe
Voila:

It says that my machine is missing .NET Framework 2.0 3.0 and 3.5 in Windows 10
This particular app requires the older .NET Framework 3.0. Although the newer .NET Frameworks will try to emulate backwards compatibility, and developers can code to allow different versions, specflow insisted on hav…