Devops for Growth
107.5K views | +9 today
Follow
Devops for Growth
For Product Owners/Product Managers and Scrum Teams: Growth Hacking, Devops, Agile, Lean for IT, Lean Startup, customer centric, software quality...
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'test d'integration'. Clear
Scooped by Mickael Ruau
Scoop.it!

Quels sont les différents types de test logiciel ?

Quels sont les différents types de test logiciel ? | Devops for Growth | Scoop.it

On parle de niveaux de test par rapport à la pyramide des tests suivante. Lorsque l’on souhaite automatiser des tests il faut toujours commencer par le bas de la pyramide car ces tests sont plus rapides à mettre en place et donc moins coûteux.

 
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

La pyramide des tests par la pratique (4/5) | OCTO Talks !

La pyramide des tests par la pratique (4/5) | OCTO Talks ! | Devops for Growth | Scoop.it
Dans le dernier article, nous décrivions les tests de composant, tests mi-unitaires mi-intégration permettant de valider à la fois l’intégration au sein de notre application (injection de dépendances) et aussi avec les composants périphériques. Le tout en restant suffisamment isolés de ces derniers pour limiter les frottements à l’exécution. L’isolation fonctionnant à merveille, le test de client d’API souffre d’un défaut majeur : lorsque le fournisseur change la signature du service, nous en sommes au courant bien trop tard. C’est ce que les tests de contrats tentent de parer et que nous allons aborder dans cet article.
Mickael Ruau's insight:

 

Comme nous venons de le voir, le test de contrat n’est autre qu’un test de composant, mais il a en plus l’avantage de valider que fournisseur et consommateur(s) sont toujours alignés. Je ne saurais donc que recommander d’utiliser ce dernier, en tout cas dans un environnement maîtrisé (typiquement des microservices au sein de votre entreprise). Cela n’a pas de sens lorsqu’on utilise une open API (typiquement l’API de transport), dans ce cas, on restera sur un test de composant.

Dans les 2 cas, je considère ces tests suffisamment importants et relativement rapides à exécuter pour être intégrés au build continu, encore et toujours dans l’objectif d’avoir une feedback rapide.

Les tests de contrats, souvent associés au pattern Consumer-Driven Contracts, sont donc un excellent moyen de vérifier que consommateur et fournisseur d’un service (qu’il soit REST ou via un message) sont toujours alignés sur un contrat commun et partagé. Ils ont également l’avantage de s’exécuter assez rapidement (isolation grâce à wiremock) et donc intégrables à la chaîne d’intégration continue. Dans le prochain article, nous aborderons des tests beaucoup moins simples à exécuter puisqu’il s’agit des tests d’intégration et tests de bout en bout.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Lightning talk meetup SWC : Pyramide des tests

Objectif du lightning talk : - présentation du modèle de la pyramide des tests, son origine, ses raisons. - mini-REX sur 4 mois de mesure et de stratégies

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

QTP Tutorials 25+ HP Quick Test Professional (QTP) Training Tutorials — Software Testing Help

QTP Tutorials 25+ HP Quick Test Professional (QTP) Training Tutorials — Software Testing Help | Devops for Growth | Scoop.it
25+ best QTP Tutorials - HP Quick Test Professional (QTP) training series for beginners as well as advanced users. Learn QTP with practical hands-on examples..
Mickael Ruau's insight:

QTP Training Series Tutorials:

QTP Introduction:

Learn VB Scripting:

QTP Checkpoints:

Test Automation Frameworks:

Enhance Your Tests:

Test Your Understanding:

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Robot Framework Tutorial - Overview - codecentric AG Blog

Robot Framework Tutorial - Overview - codecentric AG Blog | Devops for Growth | Scoop.it
Robot Framework Tutorial Part I: Robot Framework Tutorial – Overview Part II: Robot Framework – A complete example Part III: Robot Framework IDE Part IV: How to Structure a Scalable And Maintainable Acceptance Test Suite Part V: Robot Framework Tutorial – Writing Keyword Libraries in Java Part VI: Robot Framework Tutorial – Loops, Conditional Execution... Read more
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Sikuli Script

Sikuli Script | Devops for Growth | Scoop.it

Automate Anything You See

 
Automate using PowerPoint slides
Sikuli Slides 1.5

 

Automate using Scripts
 

Why Sikuli?

Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Supervision du ressenti utilisateur avec Sikuli [wiki monitoring-fr.org]

La supervision applicative Sikuli consiste à venir tester le ressenti utilisateur sur les applications métiers. Pour cela un script est charger de mener des actions de tests tels que le ferait un user devant son écran.

C’est assez simple en soit.

Il existe un outil appelé SIKULI qui est capable de faire de la reconnaissance screen “ecran”. Cet outil permet de développer des scripts permettant de mener des actions de cliques, de saisie de texte, de reconnaissance d’affichage etc … en bref tout ce qu’un user pourrait faire est scriptable dans SIKULI “ et super facilement”.

L’avantage c’est que Sikuli permet de faire des scripts assez facilement m^me pour des personnes comme moi (non dev) l’outil permet de scripter en respectant une algorithmie simple et des captures d’écrans.

Mickael Ruau's insight:
Comment ca marche ????
 

NRPE et SHINKEN

Une fois ce script développé il convient de l’interfacer avec Shinken.

Pour cela on utilise check_nrpe.

Nrpe est un agent responsable de réaliser les actions de vérification à la place de snmp. Nrpe permet de soulager la supervision et de faire faire les actions de vérification par le serveur distant.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

rainmanwy/robotframework-SikuliLibrary

Sikuli Robot Framework Library provide keywords for Robot Framework to test UI through Sikuli.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Robot Framework Tutorial 2- First Script

 

Check out my Robot Framework Tutorial website to see the whole course: http://www.robotframeworktutorial.com.

In this video, I'll show you how to create your first script using the Selenium2 library.

Robot Framework is an excellent, free, open source test automation framework. Learn how to create & run automated test scripts with PyCharm, Selenium library, and more!

All course materials © 2015 Bryan Lamb. All rights reserved.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Setting up tests in GitLab CI for Django project with Docker Engine

Setting up tests in GitLab CI for Django project with Docker Engine | Devops for Growth | Scoop.it
From the dev.to() community. Sharing ideas that makes us all better developers.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Integration Tests with Maven (Part 2): Test Coverage Reports | Sonatype Blog

Integration Tests with Maven (Part 2): Test Coverage Reports | Sonatype Blog | Devops for Growth | Scoop.it
In this article, we will demonstrate how to measure the test coverage of both integration and unit tests.


We will be using Emma to measure and report the coverage. EMMA is an open-source toolkit for measuring and reporting Java code coverage.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

La pyramide des tests par la pratique (5/5) | OCTO Talks !

La pyramide des tests par la pratique (5/5) | OCTO Talks ! | Devops for Growth | Scoop.it
Il est temps de conclure cette série d’articles. Au final, nous avons 26 tests unitaires, 15 tests de composants (+ 1 test de contrat qui pourrait avantageusement remplacer un test de composant), 2 tests d’intégration et 2 tests de bout en bout. La pyramide est donc globalement respectée et notre composant sécurisé.

Pour résumer, et si vous ne deviez retenir que quelques points :

Favorisez les tests qui donnent un feedback précis, rapide et fiable.
Investissez massivement dans les tests unitaires, qui sont peu chers à écrire et fournissent les meilleurs feedbacks sur votre code métier.
Ne délaissez pas les tests de composants qui permettent de valider la configuration et la “glue”.
Si vous faites des web services / API / microservices, peu importe le nom que vous leur donnez, envisagez sérieusement les tests de contrat pour vous assurer de la rétrocompatibilité.
Limitez les tests d’intégration ou de bout en bout, plus complexes à exécuter, à la seule vérification de la tuyauterie entre votre application et le reste du SI.
Automatisez l’ensemble de ces tests et exécutez-les le plus souvent possible sur un serveur d’intégration continue.
Ne dupliquez pas les tests à chaque niveau de la pyramide : chaque type de test a son intérêt/objectif. Il s’agit d’une pyramide et non d’un cube, pyramide que j’ai complétée dans le schéma suivant pour synthétiser cet article.
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Automatisation des tests : quand faut-il…

Automatisation des tests : quand faut-il… | Devops for Growth | Scoop.it

Il existe des domaines à automatiser en priorité :

  • les tests unitaires
  • les API/web services
  • les smoke tests UI
  • les tests de régression sur toute l’UI

Le meilleur moment pour commencer à planifier vos scénarios de test automatisés est lors de la phase d’analyse et de modélisation des besoins du cycle de développement. Le fait de les prévoir dès cette étape vous permettra de les mettre en œuvre plus rapidement et d’en tirer parti plus tôt, dès que l’application est prête à être testée.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

HP ALM Quality Center Tutorial (7 In-depth Tutorials) — Software Testing Help

HP ALM Quality Center Tutorial (7 In-depth Tutorials) — Software Testing Help | Devops for Growth | Scoop.it
Learn HP Quality Center in 7 days with our in-depth Tutorials. I'm sure after reading these HP Quality Center Tutorials you should be able to start using it on your live projects!
Mickael Ruau's insight:

List of All HP ALM Quality Center Tutorials:

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

orionhealth/XBDD

orionhealth/XBDD | Devops for Growth | Scoop.it

XBDD is a tool to unite automated and manual test effort. This guide covers the basic features of the XBDD.

Mickael Ruau's insight:

XBDD reports are a combination of Cucumber json reports augmented with data from humans.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

RaiMan's SikuliX

SikuliX automates anything you see on the screen of your desktop computer running Windows, Mac or some Linux/Unix. It uses image recognition powered by OpenCV to identify and control GUI components. This is handy in cases when there is no easy access to a GUI's internals or the source code of the application or web page you want to act on.

SikuliX supports as scripting languages

  • Python language level 2.7 (supported by Jython)
  • running RobotFramework text-scripts is supported (see docs)
  • Ruby language level 1.9 and 2.0 (supported by JRuby)
  • JavaScript (supported by the Java Scripting Engine)

… and you can use it in Java programming and programming/scripting with any Java aware programming/scripting language (Jython, JRuby, Scala, Clojure, …).

Though SikuliX is currently not available on any mobile device, it can be used with the respective emulators on a desktop computer or based on VNC solutions. A solution for Android devices based on ADB (Android Debugging Bridge) is in an early experimental stage,

Besides locating images on a screen SikuliX can run the mouse and the keyboard to interact with the identified GUI elements. This is available for multi monitor environments and even for remote systems with some restrictions.

SikuliX comes with basic text recognition (OCR) and can be used to search text in images. This feature is powered by Tesseract.

SikuliX is a Java application, that works on Windows XP+, Mac 10.6+ and most Linux/Unix systems. For Windows, Mac and Ubuntu 12.04+ it is complete and should normally work out of the box. For Linux/Unix systems there are a few prerequisites to be setup.

SikuliX is the follow up of Sikuli Script - last version 2011 as Sikuli-X-1.0rc3.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Programmez sans code avec SIKULI

Programmez sans code avec SIKULI | Devops for Growth | Scoop.it
Vous aimeriez automatiser des tâches laborieuses ? Pas besoin d'être programmeur pour cela puisque le logiciel Sikuli va vous permettre de réaliser des tâches répétitives à partir de capture d'écran
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Sikuli4Net .NET implementation of Sikuli, utilizing an embedded jetty server.

Features

  • Full integration of Sikuli into .NET
  • Compatibility with other automation tools

 

Mickael Ruau's insight:

Description

Using an embedded jetty server, this project exposes the core functionality of Sikuli for use within .NET projects. The nuGet package can be installed with the following command entered in the package manager:

Install-Package Sikuli4Net

Requires a working installation of the latest version of Sikuli.

Additional setup required: See screenshots for examples of how to implement this tool. NUnit setup and teardown methods are required.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Sikuli Selenium Robot Framework Tutorial

Sikuli Selenium Robot Framework Tutorial | Devops for Growth | Scoop.it

You can find below all the steps needed to develop and execute a Robot Framework test case using both Sikuli and Selenium at the same time. Note that Selenium library runs on Python (does not support Jython) however Sikuli needs Jython so using one Python interpreter is not going to work for both at the same time. The trick is to use Python (works fine with Selenium library) and run Jython on a remote machine (localhost simulating remote machine). This way we execute Selenium keywords using Python on the local machine and call Sikuli keywords on the remote machine using RPC-xml sever.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

How-To: Sikuli and Robot Framework Integration

How-To: Sikuli and Robot Framework Integration | Devops for Growth | Scoop.it

Sikuli and Robot Framework are both freely available open source tools that provide interesting possibilities for automation testers, QA and other IT people.

Sikuli introduces new way of automated testing - test using screenshots and images, without using any internal API of objects under test. This approach (using purely images/screenshots and generating mouse and keyboard events) is more similar to manual testing activities performed by real people which have just monitor, mouse and keyboard.

Robot Framework is an excellent implementation of keyword- and data-driven approaches to test automation and besides it includes a lot of interesting features and tools, such as:

and much more...

Mickael Ruau's insight:

Introduction
Integration Details
Step 0: Installation
Step 1: Run Sikuli Script from command line
Step 2: Upgrade Sikuli Scripts to Test Libraries
Step 3: Tips and Tricks
Summary
References

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Robot Framework: Semicolon-free testing

By Filip Noetzel
No comment yet.
Scooped by Mickael Ruau
Scoop.it!

FAQ: What to do when things go wrong – first things first? » Selenium Simplified

FAQ: What to do when things go wrong – first things first? » Selenium Simplified | Devops for Growth | Scoop.it

When things go wrong, drop down to the command line and make sure that the basics work:

  • mvn -v
  • javac -version

In your project folder make sure that “mvn clean” works without error.

Then try a “mvn compile” and make sure you don’t get any download errors reported.

Many of the recent questions I receive relate to simple maven configuration issues.

No comment yet.
Scooped by Mickael Ruau
Scoop.it!

Integration tests with Maven (Part 1): Failsafe Plugin | Sonatype Blog

Everyone knows Maven is great for running unit tests, and it is usually one of the first things that people learn when they are adopting Maven as a technology. Integration tests are another matter, and require a more detailed introduction. In this series of articles, I will explain how to set up integration tests in Maven starting the series by testing a simple jar and then advancing into more complex scenarios.
No comment yet.