How to run automated tests with SCIP - automated-tests

I´m new in Scip and trying to make automated testing with Scip.
There is the website https://www.scipopt.org/doc-4.0.1/html/TEST.php but I´m not getting it what to do or doing it wrong. Does someone has experience with automated testing using Scip?
If I want to start a test run using what is given on the website scip replies "command not available". I guess I missed something fundamental to do. Who has a idea what.
Thanks a lot.
Lukas

Reading your latest comment, it is clear that your problem is not with running automated tests but rather with compiling SCIP on Windows in the first place.
There is a small section covering builidng on Windows with cmake in the INSTALL file in the SCIP root directory. Another possibility would be to use the WSL integrated in windows to compile.
I would ask you to write your comments in English, the whole point of stackoverflow is that others might also profit from the answers to your question in the future.

Related

Correct way to create a software install script which can manage dependencies

I'm currently working on an university research related software which uses statistical models in it in order to process some calculations around Item Response Theory. The entire source code was written in Go, whereas it communicates with a Rscript server to run scripts written in R and return the generated results. As expected, the software itself has some dependencies needed to work properly (one of them, as seen before, is to have R/Rscript installed and some of its packages).
Due to the fact I'm new to software development, I can't find a proper way to manage all these dependencies on Windows or Linux (but I'm prioritizing Windows right now). What I was thinking is to have a kind of script which checks if [for example] R is properly installed and, if so, if each used package is also installed. If everything went well, then the software could be installed without further problems.
My question is what's the best way to do anything like that and if it's possible to do the same for other possible dependencies, such as Python, Go and some of its libraries. I'm also open to hear suggestions if installing programming languages locally on the machine isn't the proper way to manage software dependencies, or if there's a most convenient way to do it aside from creating a script.
Sorry if any needed information is missing, I would also like to know.
Thanks in advance

What is the third "element" in the prompt of linux terminal and will it affect how programs are run?

This question might be weird. I am starting to pick up web development again. I am trying to configure my terminal. I used this guide on YouTube. I'm pretty much done and learned a lot about moving around the terminal. Had to troubleshoot a bit.
My terminal now looks like this. I am using iTerm2.
The guide directed me to install oh-my-zsh and I was given a prompt to set the default shell from bash to zsh. I selected yes, since the commands are similar anyways, but then I noticed that the third element in the prompt line says "logout_functionality". After googling, I think the answer is, that is the mode the terminal is in.
Also, this is what my native terminal looks like.
My questions are:
Is this correct?
If so, how do I change the mode, or should I just leave it?
Can someone please direct me to a resource to learn more about this specifically. The reason why I need a resource recommendation is because the website that go into this topic are all pretty much very basic like this. It is proving to be difficult to zero-in on the problem too with google because there are so many other topics involving the "logout" and "functionality" keywords. I also an aware of the fact that I may not be formulating the question properly, but I don't know how else to do so. I know I am not understanding a very basic axiom of knowledge, but I don't know what it is.
I noticed that the third element in the prompt line says "logout_functionality". After googling, I think the answer is, that is the mode the terminal is in.
Nope. It's the branch you are on in your Git repo. That's why, on the left of logout_functionality, you see a branch icon or the word git.

Is there any external "Test Executor" GUI for Robot Framework?

I am currently working on replacing an outdated test system that we're using at the company I work at with Robot Framework. The current system is used for function testing embedded systems that we produce. We are using an in-house software for executing the test scripts, which is good consider that the operators that are running the tests doesn't have a broad knowledge in programming. As it is right now they just need to know the name of the product and then press "Start test" in the GUI, which is exactly what we want.
What I've learned and seen now after spending some days playing around in Robot Framework is that there's no built-in GUI in some sort for executing test cases. I haven't even found a third-party solution for this, except using software like Jenkins, but that is not a good solution when the test needs to run locally on the computer where the operator is working. Running the tests from the terminal directly is not a good solution either, just because it's not that "user-friendly".
I've read about the Robot Framework Public API, which is so well documented that I could pretty easy build a new "Test Executor", but if there exists software that does this already I'm glad to hear about it!
I know that RIDE has the functionality to run selected tests via a GUI, but what I've experienced is that it's pretty easy to make horrible mistakes in that software. Don't get me wrong, RIDE is a awesome tool for creating .robot scripts, but it is not great as a "Test Executor", especially not when we really need to keep a constant production flow to meet our deadlines.
How should I handle this? Do you build your own tools for executing tests, or is it that I've missed something?

Hunting the UNIX software configure Uber-script

I have been installing alot of Linux software lately. Installing almost always requires running a "configure" script. It has finally dawned on me that pretty much everyone is making their configure scripts by taking one extensive, generic script and tweaking it for their own purposes. If anyone knows what I am talking about, can you tell me the source for this generic configure script? Thanks.
That would be autoconf.
I would imagine that the Goat Book offers a comprehensive treatment of it.
Do not taunt autoconf.

Cross compile Qt source the Angstrom toolchain(any linux supported embedded toolchain would do)

I am new to cross compiling and willing to get started with cross compiling Qt for beagleboard. Can some one give me specific instructions for this or recently tried tutorial. Please do not assume any knowledge on my part so can not handle instructions like "you may have to edit this to your architecture". I have a few important questions.
how to build Angstrom tool chain and how to prepare it for cross compiling. (I have tried the anstrom web site and never found such random instrutions in my life).
How to cross compile Qt after installing.
The process is a little daunting for the first time developer. I used this blog to give me a start,
http://treyweaver.blogspot.com/2010/10/setting-up-qt-development-environment.html
but like all of the other instructions, sometimes there will be deviations. It took me a while to sort it all out. You are going to have to read and study to to this. It is a worthy thing to do however. As far as Angstom, there are ready made images available. I started with that. You should use Ubuntu to do all of your work. Linux makes it a lot easier.

Resources