Hands-On Testing: How to Integrate Tests in OPNFV

Slides:



Advertisements
Similar presentations
Business Development Suit Presented by Thomas Mathews.
Advertisements

Connect Team Connect Team Outside Contrib Outside Contrib Unscheduled Backlog Bugs Feature Requests BA Review Requirement Docs Epic Large Tasks or Features.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Ravi Mathur Updated December 5,  ODTBX uses Git (see the ODTBX Git Tutorial) ODTBXODTBX Git Tutorial ◦ SourceForge account needed (free). SourceForge.
A Blackboard Building Block™ Crash Course for Web Developers
Aneef Fashir Software Architect Assette. About Myself 5 years of experience in programming. BSc(Hons) in Computer Science and MIS. Currently working at.
15 Jul 2005CSE403, Summer'05, Lecture 10 Lecture 10: Incremental Releases Valentin Razmov.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
OXygen XML Editor Support for eXist DB XQuery debugging. Stefan Vasile
02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
GTRI Proprietary / Limited Distribution. Architecture File System DataLoader API Analytics API Visualization API MongoDB Resource Management Layer Python.
New perfSonar Dashboard Andy Lake, Tom Wlodek. What is the dashboard? I assume that everybody is familiar with the “old dashboard”:
Created by Jan Medved Integration & Test Strategy for Lithium.
Module 8 : Configuration II Jong S. Bok
Jason Platts Lead Technical Developer The Open University An overview of how the Open University has incorporated bibliographic.
Data Access Layer Shahed Chowdhuri Using Code-First Migrations.
Comanche A GUI management tool for Apache Daniel López Ridruejo
OPNFV Test Dashboard 10/09/2015 M.Richomme, Orange.
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
GitHub and the MPI Forum: The Short Version December 9, 2015 San Jose, CA.
The Next Level Of Agile: DevOps and CD אוקטובר 2015.
E2G Web Services E2G Scripts and Methods E2G Domain Logic E2G Domain Logic Client Custom Scripts and Methods Client Custom Scripts and Methods E2G Rules.
Virtual Lab Overview 5/21/2015 xxxxxxxxxx NWS/MDL/CIRA.
CVS repositories, and how to set them up for using CCPN.
| 1 EBSCOadmin EBSCO Support EDS Wiki Renata Wlodarczyk | EBSCO.
Version 0.1 Draft – For Review Murali Mohan Murthy
ArcGIS for Server Security: Advanced
Daisy4nfv: An Installer Based upon Open Source Project – Daisy & Kolla
HPE ALM Octane.
Ramping Up On The SharePoint Framework (SPFx)
Bringing Dynamism to OPNFV
Lean With MEAN.
ONAP on Vagrant for ONAPers
Data Virtualization Demoette… ODBC Clients
Yochay Kiriaty Senior Technical Evangelist Microsoft® Corporation
Documentation Guidelines
Web page evolution Proposals
Open-O Integration Project Introduction
Deployment Architectures For Containers
Abstract After a SIG has been approved, one of the next steps is to get products out to users. During this talk, Niels will explain how the Storage SIG.
Nikolas Hermanns Jose Lausuch
TSC update to the Board 7 April 2017.
5/9/2018 9:30 AM BRK2215 Deliver better experiences with SharePoint Patterns and Practices Community Solutions Mike Ammerlaan Product Marketing Manager,
How OPNFV Should Act Beyond Breaking Points
Business Directory REST API
Tina Tsou, Bryan Sullivan,
How to Reuse OPNFV Testing Components in Telco Validation Chain
TSC Update at December Board Meeting
OPEN-O Sun Release Lab Deployment & Assembly
Ashiq Khan, NTT DOCOMO Ryota Mibu, NEC
Data Virtualization Tutorial: Introduction to SQL Script
Getting Started with Alfresco Development
Data Virtualization Demoette… ADO.NET Client
Data Virtualization Tutorial… CORS and CIS
Understanding how XContinuousIntegration (Xci)
Documentation Guidelines
In-Depth Introduction to Docker
Dovetail project update
Revision Control, Automated Testing and Docker RSE Conference 2017
Tomi Juvonen SW Architect, Nokia
Building a Continuous Integration Pipeline using VSTS
Release Process June 11, 2017.
Site Deployment Module
Dev Test on Windows Azure Solution in a Box
Confidential – Oracle Internal/Restricted/Highly Restricted
A Global Trojan Solution
Hackfest April 2017 Orange labs. Paris
The JSF Tools Project – WTP (internal) release review
Overview on CI Use JJB (Jenkins Job Builder) to manage Jenkins jobs.
Presentation transcript:

Hands-On Testing: How to Integrate Tests in OPNFV Jose Lausuch Ericsson, Functest PTL

Do not worry we make it easy for you

1) Check the documentation We have plenty of documents and guides that can help you http://docs.opnfv.org Config guide Release notes Wiki User guide Dev guide API Docs

Documentation (e.g Functest) Config guide User guide Developer guide http://testresults.opnfv.org/functest/framework/ API Docs https://wiki.opnfv.org/display/functest

2) Get familiar with the environment Deploy OPNFV with your desired features installed Follow the instructions to set up the test framework Run tests

3) Write a dummy test case Before testing your feature, make sure you can run a simple “Hello World” with the test framework. The framework should return “test successful”

4) Add the content of the test Once you understand how to integrate a test in the framework, you can start writing the code that exercises your feature Make use of framework libraries and helper functions

5) Declare the test case in the Test DB There is a Database to store community results from CI runs It is also used to store some information, such as: Test cases per project CI PODs Scenarios Easy to do this using the Rest API https://wiki.opnfv.org/pages/viewpage.action?pageId=6825128

{ "project_name": “myProject", "run": "", "name": "myTest", "ci_loop": "daily", "tags": "", "blocking": "false", "domains": "networking", "dependencies": "", "version": ">Euphrates", "criteria": "", "tier": "features", "trust": "silver", "catalog_description": "Hello world test case", "description": "Hello world test case blah blah " }

6) Push your code You probably want to keep the code of your test in your repo BUT You will need to enable some things in the test framework

Example: Doctor test case in Functest testcases.yaml Dockerfile - case_name: doctor-notification project_name: doctor criteria: 100 blocking: false description: >- Test suite from Doctor project. dependencies: installer: '(apex)|(fuel)' scenario: '^((?!fdio).)*$' run: module: 'functest.core.feature' class: 'BashFeature' args: cmd: 'cd /home/opnfv/repos/doctor/tests && ./run.sh' THAT’S IT!

7) Finally Once the code is merged in your repository and in the test framework  Check CI

DEMO

Thank You