Authority
  • Introduction
  • In Action
  • Performance at Scale
  • Roadmap / Features
  • Getting Started
    • Introduction
    • Installation
    • Configuration Overview
  • Authentication
    • Authentication Guide
    • API Documentation
    • Customizing Authentication
  • Security & Error Handling
    • Security Considerations
    • Error Handling & Troubleshooting
  • Providers
    • Client Providers
    • Owner Providers
  • API Endpoints
    • API Endpoints
  • DEVELOPMENT
    • Requirements
    • Database
    • User Interface
    • Specs
    • Deployment
      • Environment Variables
  • Reference
    • OAuth Terms
    • OAuth 2 Grant Flows
      • Device Flow
      • Authorization Flow
      • Client Credentials Flow
      • Refreshing Access Tokens
      • Access Token Response
      • Json Web Tokens
      • Legacy: Implicit grant
      • Legacy: Password
    • Open ID Connect
      • Configuration
      • Registering Clients
      • User Info
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. DEVELOPMENT

Specs

The project specifications can be found in the specs directory. Use the directory to get an idea of the project capabilities and configuration.

Running Specs

If you have all the requirements installed, running the specs should be fairly simple. Run the following commands to run the specs locally

shards build server
crystal specs

Ensure you have a Postgres database process running with the correct credentials

Headless Mode

Specs run using the Flux shard, this allows for browser testing. Currently, the configuration is set to run headless by default, which means that you will not see the browser interactions, if you wish to change this behavior simply remove the `-headless` parameter for the spec/flows files

def initialize(@url : String, @username : String, @password : String)
  options = Marionette.firefox_options(args: ["-headless"])
  super(Marionette::Browser::Firefox, options)
end
PreviousUser InterfaceNextDeployment

Last updated 7 months ago

Was this helpful?