Git Product home page Git Product logo

e2e-javascript-testing's Introduction

End-to-End Javascript Testing

In questo repository trovate il codice della demo che ho presentato durante la mia sessione End-to-End Javascript Testing all'evento DevOps@Work 2017.

Questa demo utilizza Selenium e Protractor per automatizzare i test end-to-end di un'applicazione ASP.NET Core.

  • Sulla branch master trovare l'applicazione sotto test.
  • Sulla branch withoutPageObjects trovate l'implementazione dei test senza usare il pattern Page Objects.
  • Sulla branch withPageObjects trovate l'implementazione dei test usando il pattern Page Objects.

Per eseguire i test è necessario:

  1. installare NodeJS sul proprio PC scaricando il setup appropriato dal sito di Node;
  2. installare Proctrator usando NPM per mezzo del comando npm install -g protractor da un qualsiasi prompt dei comandi;
  3. aggiornare il WebDriver di Selenium per mezzo del comando webdriver-manager update da un qualsiasi prompt dei comandi;
  4. aprire un prompt dei comandi nella cartella Tests che si trova all'interno del progetto ed eseguire il comando protractor config.js.

Questa demo utilizza direttamente il driver per Chrome. Se volete cambiare questa impostazione potete andare nel file config.js e modifica l'impostazione come previsto dalla configurazione di Protractor.

e2e-javascript-testing's People

Contributors

akelitz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.