mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-29 12:02:39 +02:00
47 lines
No EOL
2 KiB
HTML
47 lines
No EOL
2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>pytest - Alexis Métaireau</title>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://blog.notmyidea.org/theme/css/main.css" type="text/css" />
|
|
<link href="https://blog.notmyidea.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
|
|
title="Alexis Métaireau ATOM Feed" />
|
|
</head>
|
|
|
|
<body>
|
|
<section id="links">
|
|
<li><a class=""
|
|
href="https://blog.notmyidea.org/">Alexis Métaireau</a></li>
|
|
<li><a class=""
|
|
href="https://blog.notmyidea.org/journal/index.html">Journal</a></li>
|
|
<li><a class=""
|
|
href="https://blog.notmyidea.org/code/">Code, etc.</a></li>
|
|
<li><a class=""
|
|
href="https://blog.notmyidea.org/weeknotes/">Notes hebdo</a></li>
|
|
<li><a class=""
|
|
href="https://blog.notmyidea.org/lectures/">Lectures</a></li>
|
|
</section>
|
|
<h1>Posts with #pytest tag</h1>
|
|
<section class="section index">
|
|
<time datetime="2023-08-16T00:00:00+02:00">16 août 2023</time>
|
|
|
|
<a class='tag' href="https://blog.notmyidea.org/tag/django.html">django</a>, <a class='tag' href="https://blog.notmyidea.org/tag/pytest.html">pytest</a> <h1><a href="https://blog.notmyidea.org/profiling-and-speeding-up-django-and-pytest.html" id="page-title">Profiling and speeding up Django and Pytest</a></h1>
|
|
|
|
<p><a href="https://yaal.coop/">Éloi</a> made <a href="https://github.com/spiral-project/ihatemoney/issues/1214">a pull request on
|
|
IHateMoney</a> to
|
|
speedup the tests, with some great tooling for pytest that I wasn’t aware of:</p>
|
|
<ul>
|
|
<li><a href="https://pypi.org/project/pytest-xdist/">pytest-xdist</a> allows to run tests in
|
|
parallel, using <code>-n auto</code></li>
|
|
<li><a href="https://pypi.org/project/pytest-profiling/">pytest-profiling</a> makes it easy
|
|
to get the call stack and time the function calls that take most …</li></ul>
|
|
</section>
|
|
<ul>
|
|
</ul>
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html> |