https://kotlinlang.org logo
Join SlackCommunities
Powered by
# atrium
  • r

    robstoll

    03/30/2021, 5:38 PM
    I have just published v0.16.0 featuring Path.isSymbolicLink/isEmptyDirecty, more samples, a few fixes and many refactorings https://github.com/robstoll/atrium/releases/tag/v0.16.0 Many thanks to the contributors 🙇 This release does not yet contain the move to a consistent
    to + infinitive
    naming but 0.17.0 will. If you have input on naming then don't hesitate to participate. See https://github.com/robstoll/atrium-roadmap/issues/93 for the discussion.
  • r

    robstoll

    03/30/2021, 6:38 PM
    oh and one interesting point I forgot to mention, Atrium has now a feature extractor named
    its
    which has a way simpler syntax than
    feature
    at the cost of a poorer error report. Check it out and let me know what you think about it
  • r

    robstoll

    04/06/2021, 6:26 AM
    @channel quick poll, what do you prefer: 1️⃣ • toBeADirectory • toBeAnEmptyDirectory vs. 2️⃣ • toBeDirectory • toBeEmptyDirectory
    1️⃣ 3
  • s

    StragaSevera

    05/30/2021, 10:27 AM
    Is there a way to transform this to more atrium-stiyle code?
    Copy code
    transactions.forEach { expect(it.state).toBe(TransactionState.ACCEPTED) }
  • r

    robstoll

    05/30/2021, 10:57 AM
    Copy code
    expect(transactions.map { it.state }).all {  toBe(...) }
    But I would suggest the following so that you see the specific transaction where the state is wrong in the error report:
    Copy code
    expect(transactions).all { its { state }.toBe(...) }
  • s

    StragaSevera

    05/30/2021, 11:06 AM
    Thank you!
  • r

    robstoll

    05/30/2021, 11:17 AM
    You're welcome!
  • r

    robstoll

    07/16/2021, 7:03 PM
    I have released v0.17.0-RC1. Would be great if someone finds the time to upgrade, checkout the migration scripts in the draft of the release notes. They will ease the transition from deprecated stuff to the new shiny replacements: https://github.com/robstoll/atrium/wiki/Release-notes-0.17.0-draft#migrating-deprecated-functionality
  • s

    Sohel Shaikh

    10/04/2021, 3:31 PM
    @robstoll Could you please help me with this? https://kotlinlang.slack.com/archives/C0B8MA7FA/p1633176380281200
    r
    • 2
    • 4
  • r

    robstoll

    10/26/2021, 8:05 PM
    Atrium v0.17.0 is out with a re-worked to + infinitive naming schema: https://github.com/robstoll/atrium/releases/tag/v0.17.0 Thanks to all contributors 😺
  • r

    robstoll

    04/25/2022, 7:51 PM
    Released v0.18.0 where reporting was aligned to the new
    to + infinitive
    schema as well: https://github.com/robstoll/atrium/releases/tag/v0.18.0 Thanks to the contributors
  • d

    Dirk van Wijk

    05/02/2022, 12:40 PM
    Hi, is it correct that since Atrium v0.18.0 Java 8 is no longer supported? We are still stuck on Java 8 for a while and I read from the breaking changes that you go from Java 6 to Java 11. Would be a shame if we can no longer use this library (or stay at 0.17 until we can use a later Java version) 😞
  • r

    robstoll

    05/02/2022, 12:41 PM
    are you still using jdk8 also in tests?
    d
    • 2
    • 5
  • h

    Hyper Nova

    10/12/2022, 9:53 AM
    Hi I'm totally new to this library and I'm trying to work on this issue but I'm not understanding much of the repository and what I'm exactly supposed to do. I looked into kotest documentation and went through Describe Spec and its implementation. I want to know how can I run the SmokeSpec file in my IDE, because I have opened the project in IntelliJ IDE and it shows that it cannot run SmokeSpec file. https://github.com/robstoll/atrium/issues/1202
  • r

    robstoll

    10/12/2022, 11:20 AM
    If I am not mistaken, then you need to install a nightly build of the spek plugin in order that the run gutter in intellij works. I wouldn't do this if I were you though. You can run the test via gradle. Something like
    ./gradlew :atrium-fluent-en_GB-smoke-test:build
    (might be the project name is slightly different, I am writing from the top of my head)
  • h

    Hyper Nova

    10/12/2022, 12:59 PM
    Thanks I'll look into it
    r
    • 2
    • 1
  • k

    Kishan Patel

    10/15/2022, 7:55 PM
    How to add this plugin for kotest in build.gradle.kts file?
    r
    • 2
    • 5
  • r

    robstoll

    12/29/2022, 7:50 PM
    As pre-info, I'll drop the support for translating the output with 0.20.0
  • r

    robstoll

    05/02/2023, 8:35 PM
    I just released 1.0.0-RC1: https://github.com/robstoll/atrium/releases/tag/v1.0.0-RC1
  • t

    Tanbir Ali

    05/04/2023, 5:48 PM
    @robstoll I need help here I cannot understand how am I supposed to implement the function here
    r
    • 2
    • 2
  • t

    Tanbir Ali

    05/12/2023, 7:09 PM
    I have written the notToBeAnInstanceOf() implementation as this
    Copy code
    fun <T> Expect<T>.notToBeAnInstanceOf(expected: T): Expect<T> = _logicAppend { toBe(expected) }
    I have followed the tobe function as in anyExceptions.kt
    Copy code
    fun <T> Expect<T>.toEqual(expected: T): Expect<T> = _logicAppend { toBe(expected) }
    r
    • 2
    • 2
  • t

    Tanbir Ali

    05/12/2023, 7:09 PM
    Is this correct or do I have to do any changes
  • t

    Tanbir Ali

    05/14/2023, 7:01 PM
    @robstoll please give me an answer
  • r

    robstoll

    05/29/2023, 7:20 PM
    Release v1.0.0 of Atrium is out 🎉 https://github.com/robstoll/atrium/releases/tag/v1.0.0 Thanks to all contributors which helped bringing Atrium to this point 💯 👍 I also updated the Code Documentation website: https://docs.atriumlib.org/ where 1.0.0 was generated with latest dokka
  • a

    Anmol Agrawal

    07/13/2023, 2:22 PM
    Hello. I just started working on this issue: https://github.com/robstoll/atrium/issues/1456 The build keeps failing. I am on windows, using intellij community edition 2022.3.3. I will post the error message soon. Not sure what is failing and why. Thread in Slack Conversation
    r
    • 2
    • 37
  • a

    Anmol Agrawal

    07/13/2023, 2:22 PM
    Here are the logs: https://katb.in/qivijawuvow
  • a

    Anmol Agrawal

    07/19/2023, 5:16 PM
    https://github.com/RealOkabe/atrium/commit/68b2cd7a36180e5376978e822dc95cd8f4ee02eb
  • r

    robstoll

    10/31/2023, 10:35 PM
    Released Atrium v1.1.0, thanks to all the contributors (code and ideas): https://github.com/robstoll/atrium/releases/tag/v1.1.0
  • r

    robstoll

    03/26/2024, 8:25 AM
    released v1.2.0, thanks goes to contributors: https://github.com/robstoll/atrium/releases/tag/v1.2.0
  • r

    robstoll

    12/29/2024, 5:05 PM
    I released v1.3.0-alpha-1 which includes some new interesting features. https://github.com/robstoll/atrium/releases/tag/v1.3.0-alpha-1 Please try it out and give feedback, especially if you should find bugs or if something seems odd in reporting. Thanks