# Run tests with unreleased version of dependency

**URL:** https://discourse.julialang.org/t/run-tests-with-unreleased-version-of-dependency/100205
**Category:** General Usage
**Tags:** testing
**Created:** [June 11, 2023, 11:11pm UTC](https://discourse.julialang.org/t/run-tests-with-unreleased-version-of-dependency/100205 "2023-06-11T23:11:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)
#### Post date: [June 11, 2023, 11:11pm UTC](https://discourse.julialang.org/t/run-tests-with-unreleased-version-of-dependency/100205/1 "2023-06-11T23:11:40Z")

</div>

I have two packages, A and B (which depends on A): is there an easy way to run `Pkg.test` on B, but force it to use a specific commit of A (which may not yet be released)?

---

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [June 11, 2023, 11:50pm UTC](https://discourse.julialang.org/t/run-tests-with-unreleased-version-of-dependency/100205/2 "2023-06-11T23:50:46Z")

</div>

I guess you have to `]dev` in `B` and get to the specific commit you want
