Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specs (and Travis CI) #18

Closed
6 of 8 tasks
Glavin001 opened this issue Jun 13, 2014 · 6 comments
Closed
6 of 8 tasks

Specs (and Travis CI) #18

Glavin001 opened this issue Jun 13, 2014 · 6 comments
Assignees
Milestone

Comments

@Glavin001
Copy link
Owner


TODO: Current languages not working for Tests

@Glavin001 Glavin001 mentioned this issue Jun 13, 2014
5 tasks
@Glavin001 Glavin001 self-assigned this Aug 14, 2014
@ilanbiala
Copy link

Any progress on this?

@Glavin001 Glavin001 added this to the My Christmas List milestone Dec 27, 2014
@Glavin001
Copy link
Owner Author

No progress yet. I would really like to get this done over the next few days while I have a little time. Wish me luck 😜

Glavin001 added a commit that referenced this issue Dec 28, 2014
What's New:
- Directory structure for specs examples to be tested
- Dynamically generated specs for all tests/sample source code

TODO:
- Fix expected test output file contents to be correct
@Glavin001
Copy link
Owner Author

Directory structure:

  - examples
    - config1
      - lang1
        - original
          - 1-test.ext
        - expected
          - 1-test.ext
      - lang2
    - config2

Glavin001 added a commit that referenced this issue Dec 28, 2014
I was unable to do Python and SQL, as I am having Python problems on my
laptop. Hopefully I will be able to figure this out soon.
@Glavin001
Copy link
Owner Author

Success!

image

Glavin001 added a commit that referenced this issue Dec 28, 2014
Tests that start with underscores (_) are hidden and not tested.
Those must eventually be solved.
Glavin001 added a commit that referenced this issue Dec 28, 2014
- because pear is not installed in Travis CI
Glavin001 added a commit that referenced this issue Dec 28, 2014
- Need to add more dependencies to support those tests
Glavin001 added a commit that referenced this issue Dec 28, 2014
@Glavin001
Copy link
Owner Author

Finally got it building and testing successfully! https://travis-ci.org/Glavin001/atom-beautify/builds/45295127

Now to fix it for the disabled tests.

@Glavin001 Glavin001 modified the milestones: v1.0.0, My Christmas List Mar 8, 2015
@Glavin001
Copy link
Owner Author

PHP (PHP_Beautifier) and Ruby (rbeautify) and C/C++ (Uncrustify) need to be taken a look at and see if those beautifiers are the best options for those respective languages. For now, all other tests are passing fine.

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

No branches or pull requests

2 participants