Skip to main content

A Robot Framework library for starting and stopping Django.

Project description

Introduction

DjangoLaunch is a Robot Framework library for starting and stoppping Django.

It has been forked from https://github.com/kitconcept/robotframework-djangolibrary

Documentation

Keywords are documented in Robot Framework Django Launch Keyword Documentation.

Installation

Install with:

pip install robotframework-djangolaunch

Example

An example using robotframework-browser:

*** Variables ***

${SERVER}               http://localhost:55001


*** Settings ***

Documentation   Django Robot Tests
Library         DjangoLaunch  127.0.0.1  55001  settings=mysite.robotframework_settings
Library         Browser
Suite Setup     Open Django and Browser
Suite Teardown  Close Django and Browser


*** Keywords ***

Open Django and Browser
  Start Django
  New Persistent Context

Close Django and Browser
  Close Browser
  Stop Django


*** Test Cases ***

Scenario: As a visitor I can visit the django default page
  New Page  ${SERVER}
  Get Element  text=Hello, World

The GitHub project main workflow has a live example on how to install dependencies and runt it.

License

Copyright kitconcept GmbH.

Distributed under the terms of the Apache License 2.0, robotframework-djangolaunch is free and Open Source software.

Credits

This library was developed by Timo Stollenwerk at kitconcept.

kitconcept

1.0 (2024-11-13)

  • Add an example of how to use this to the README.

0.9 (2024-11-11)

  • Publish Keyword documentation.

0.2 (2024-11-10)

  • Cosmetic cleanups.

0.1 (2024-11-09)

  • Initial release. This is a fork of robotframework-djangolibrary that only supports starting and stopping Django.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_djangolaunch-1.0.tar.gz (61.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_djangolaunch-1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file robotframework_djangolaunch-1.0.tar.gz.

File metadata

File hashes

Hashes for robotframework_djangolaunch-1.0.tar.gz
Algorithm Hash digest
SHA256 f434bdcf0b7fee67b43d9b8439b2310139f93ecfa2ae7ecbe825ccb818490a36
MD5 d830030969048b360b92a785250d0fe9
BLAKE2b-256 ea72654b0694ea796baf632bd2e51f2e335d12f282d5509ca365e2ba9473b49f

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_djangolaunch-1.0.tar.gz:

Publisher: publish.yml on mrannanj/robotframework-djangolaunch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robotframework_djangolaunch-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_djangolaunch-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e954870f16c10b3db8dfd3dfc033325094cd5452a83eb9e837672a30b9d3c05f
MD5 09b9feb737d6a8ee232c54f3e39ede9c
BLAKE2b-256 83131671903d6086334c2cc9fc2dcea7968734f2f8fc1db4cc7d721aab811aa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for robotframework_djangolaunch-1.0-py3-none-any.whl:

Publisher: publish.yml on mrannanj/robotframework-djangolaunch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page