Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable integration tests with Dash.jl and add server startup message #21

Merged
merged 2 commits into from
May 12, 2020

Conversation

rpkyle
Copy link
Contributor

@rpkyle rpkyle commented May 12, 2020

This PR proposes to add integration test support in plotly/Dash.jl, based on work performed in plotly/dash#1239. When that PR merges into dev of the plotly/dash repo, we'll need to modify the CircleCI configuration to use that branch instead.

A simple example test is included. Future tests should follow the same general structure and be placed into test/integration, and subdirectories may be used to help group similar tests (e.g. callbacks, devtools, clientside).

The default host remains 127.0.0.1 but the default port is changed to 8050, which matches Dash for R and Python.

A minor modification to src/Dash.jl is also proposed which adds a basic startup message at HTTP.jl launch time:

julia> run_server(app)
[ Info: Running on http://127.0.0.1:8050

@rpkyle rpkyle requested a review from waralex May 12, 2020 14:09
@rpkyle rpkyle self-assigned this May 12, 2020
@github-actions github-actions bot added enhancement New feature or request tests labels May 12, 2020
@waralex
Copy link
Collaborator

waralex commented May 12, 2020

Seems ok 💃

@rpkyle rpkyle merged commit f431975 into generated_components May 12, 2020
@rpkyle rpkyle removed their assignment May 15, 2020
@rpkyle rpkyle added this to Done in Dash for Julia May 18, 2020
@etpinard etpinard deleted the enable-integration branch June 13, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants