Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Fix documentation link and examples. #226

Open
montefra opened this issue Nov 14, 2017 · 4 comments
Open

Fix documentation link and examples. #226

montefra opened this issue Nov 14, 2017 · 4 comments

Comments

@montefra
Copy link

This is an issue in two points:

  1. The pypi package page point to the documentation for v0.13 on pythonhosted instead of the stable on readthedocs

  2. The documentation of the versions prior to v0.17 had very nice and helpful example of how to use the various fixtures. The README of the new independent plugins have much shorter example. It would be very helpful to add each of the examples to the README of the relevant plugins. If you want I can do it.

@fizyk
Copy link
Member

fizyk commented Nov 14, 2017

@montefra sure, please do.
I was rather expecting, that simple examples on how to customize fixtures with table describing all of the configuration option would be rather enough. The rest, the test examples were rather related to the db client's libraries usage. That's why I dropped them

@montefra
Copy link
Author

@fizyk : I see.

My request comes because I have never used MySQL before and I need to add a simple function that query a MySQL database.

I have an example the function, but before writing it, I want to make sure that I can write a test for it. So I found it useful to have an example with a script to create a table and a starting point for the rest of the (limited) functionality that I need.

@fizyk
Copy link
Member

fizyk commented Nov 16, 2017

Okay, be my guest to port the examples then. Please note however that due to my lack of time I haven't got around to adjust pytest-mysql to run on mysql >=5.7 yet, and the travis builds are failing unfortunately.

@montefra
Copy link
Author

Okay, be my guest to port the examples then

I'll see what I can do.

Please note however that due to my lack of time I haven't got around to adjust pytest-mysql to run on mysql >=5.7 yet, and the travis builds are failing unfortunately.

I have noticed. I gave a look at the travis logs and I'm not sure that I understood.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants