Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

A Codeception module for passing HTTP authentication

License

Notifications You must be signed in to change notification settings

ixis/codeception-module-http-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Http Auth - Codeception module

A Codeception module for passing HTTP authentication

Build Status

This simple Codeception module allows PhpBrowser to automatically pass HTTP authentication based on configuration.

Install with Composer and Packagist

{
    "require": {
        "codeception/codeception": "1.8.*",
        "ixis/codeception-module-http-auth": "dev-master"
    }
}

Example suite configuration

modules:
    enabled:
        - PhpBrowser
        - HttpAuth
    config:
        PhpBrowser:
            url: 'http://example.com/protected/'
        HttpAuth:
            username: user
            password: password

Codeception 2

This module isn't useful for Codeception 2.x, as HTTP authentication can be configured in PhpBrowser directly:

modules:
    enabled:
        - PhpBrowser
    config:
        PhpBrowser:
            url: 'http://example.com/protected/'
            auth: ['testuser', 'testpassword']

About

A Codeception module for passing HTTP authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages