# Include new test Project file logic also into 1.0?

**URL:** <https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 11, 2020, 2:41pm UTC](https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896 "2020-07-11T14:41:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [July 11, 2020, 2:41pm UTC](https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896/1 "2020-07-11T14:41:46Z")

</div>

Hi, I just stumbled upon the switch in the recommendation about where to configure test dependencies.

[https://julialang.github.io/Pkg.jl/v1/creating-packages/#Test-specific-dependencies-in-Julia-1.2-and-above-1](https://julialang.github.io/Pkg.jl/v1/creating-packages/#Test-specific-dependencies-in-Julia-1.2-and-above-1)

Apparently, when you want to support 1.0, you still have to use the old approach. And as the old approach still works in newer languages, it hence seems to be the recommended approach to stick to the old. That is a pity, as I really appreciate the new setup with a new Project file under the test directory.

From my perspective it seems like adding the support for the project file to 1.0 is possible in principle, as this does not break existing supported setups. Of course if someone used a `test/Project.toml` for something unrelated that would break, but I think that is not a big issue as it was not supported anyway.

Hence I would argue for including the `test/Project.toml` support in the next 1.0.X release.  
This would enable everyone to use the new format without dropping support on 1.0 or having to maintain two locations of test-dependencies. Hence it could truly become the new recommended approach.

What are you thoughts?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [July 11, 2020, 5:18pm UTC](https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896/2 "2020-07-11T17:18:23Z")

</div>

> [@schlichtanders](#):
>
> seems like adding the support for the project file to 1.0 is possible in principle

[Technically](https://semver.org/) I think that adding functionality like this requires a minor version bump, so it cannot be a 1.0.x version.

Also, I am not sure how it wouold help your use case. You still couldn’t claim that you “support 1.0”, because that would require supporting 1.0.y for any y, including y \< x.

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 11, 2020, 5:33pm UTC](https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896/3 "2020-07-11T17:33:49Z")

</div>

Note the:

> The exact interaction between `Project.toml` , `test/Project.toml` and their corresponding `Manifest.toml` s are not fully worked out, and may be subject to change in future versions. The old method of adding test-specific dependencies, described in the next section, will therefore be supported throughout all Julia 1.X releases.

> [@schlichtanders](#):
>
> What are you thoughts?

Features are not backported. If you need to support LTS, then just wait for the next LTS where it will be included.

---

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [July 12, 2020, 6:24am UTC](https://discourse.julialang.org/t/include-new-test-project-file-logic-also-into-1-0/42896/4 "2020-07-12T06:24:38Z")

</div>

thanks for remembering me about the semantic versioning contract.

Having that in mind, it seems kind of fine to drop support for 1.0.x for me as a package maintainer as 1.x is still guaranteed to be compatible according to semantic versioning.
